[PATCH RFC nvme-cli 2/2] nvme.spec: generate hostnqn file on install and remove on uninstall
Johannes Thumshirn
jthumshirn at suse.de
Tue Nov 8 02:42:11 PST 2016
On Tue, Nov 08, 2016 at 12:31:07PM +0200, Sagi Grimberg wrote:
>
> > 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.
Yes that's probably better.
Byte,
Johannes
--
Johannes Thumshirn Storage
jthumshirn at suse.de +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
More information about the Linux-nvme
mailing list