Re: [PATCH blktests] tests/nvme: set hostnqn after hostid uuidgen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 17, 2022 at 3:48 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> Please explain why here.
>
Hi Christoph
Here is part of the original code, hostid will not be appended to
hostnqn, I also added more info in V2, thanks for reviewing.

        local hostnqn="nqn.2014-08.org.nvmexpress:uuid:${hostid}"
        hostid="$(uuidgen)"
        if [ -z "$hostid" ] ; then
                echo "uuidgen failed"
                return 1
        fi
-- 
Best Regards,
  Yi Zhang




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux