mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 19:51:27 +00:00
While the SCSI specifications require presence of LUN 0 it is not always desirable to associate storage with LUN 0. Hence allow LUN 0 (or any other LUN) to be configured such that it does not appear at the initiator side. This is realized by adding a "dummy" attribute in to NULLIO vdisk devices. If that attribute is set, the PERIPHERAL QUALIFIER field in the INQUIRY response is set to 1 and the PERIPHERAL DEVICE TYPE is set to 0x1f. Add an example in the scst.conf(5) man page that shows how to use the new attribute. Signed-off-by: Bart Van Assche <bvanassche@acm.org> with some fixes and simplifications git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4874 d57e44dd-8a1f-0410-8b47-8ef2f437770f