[PATCH RFC nvme-cli 2/2] nvme.spec: generate hostnqn file on install and remove on uninstall

Sagi Grimberg sagi at grimberg.me
Tue Nov 8 02:31:07 PST 2016


> Two things, a) are you sure this is correct? I interpret $year_month as year
> and month, not year and day (date | awk '{print $6"-"$3}' evaluates to 2016-7
> here) and b) 'date +"%Y-%m"' saves you a 2nd process.

Thanks for the tip... I'm moving it to nvme utility though.

Cheers,
Sagi.



More information about the Linux-nvme mailing list