]> www.infradead.org Git - users/hch/nvme-cli.git/commit
Use a systemd app-specific machine ID for hostnqn
authorAndy Lutomirski <luto@kernel.org>
Thu, 3 Oct 2019 18:47:02 +0000 (11:47 -0700)
committerAndy Lutomirski <luto@kernel.org>
Thu, 3 Oct 2019 18:52:40 +0000 (11:52 -0700)
commit48c10dbfaf00777170e209db20f7d07e47f7a983
treecb363c2f8405d4c38ae26b693a594f5555f95d1c
parent5c1ab098694b13d752296eab64decac3b51829dd
Use a systemd app-specific machine ID for hostnqn

If /etc/nvme/hostnqn is not present, the fabric commands will ask
systemd for an app-specific machine ID as a fallback.  This should
improve functionality if /etc/nvme/hostnqn is not present and should
allow packagers to avoid creating /etc/nvme/hostnqn.

Heavily based on an earlier patch from Tomasz Torcz.

Signed-off-by: Tomasz Torcz <tomek@pipebreaker.pl>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Documentation/nvme-show-hostnqn.txt [new file with mode: 0644]
Makefile
fabrics.c
fabrics.h
nvme-builtin.h
nvme.c