- Subject: Target naming: a minor bug in tgt-setup-lun
- From: Yaron Sheffer <yaronf@xxxxxxxxxxxx>
- Date: Wed, 13 Jul 2011 16:24:29 +0300
- User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110627 Thunderbird/5.0
Hi,
When creating the target name, the application prepends the string
iqn.2001-04.com.<hostname>- before the user-supplied name. However the
".com" is redundant. Moreover, some users might prefer to supply their
own names, e.g. if the hostname is not stable (as may be the case in the
cloud). So I suggest to change the code so that if the user provides a
full name (one that starts with "iqn"), it is used as is.
Thanks a lot!
Yaron
PS: I am using the code on Ubuntu Lucid and Natty.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux SCSI]
[Linux RAID]
[Linux Clusters]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[XFree86]
[Video Devices]