[PATCH 2/2] tgt-admin: document device-type usage in targets.conf

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

 



Add a note to targets.conf.example that there is a "device-type" option.


Signed-off-by: Tomasz Chmielewski <mangoo@xxxxxxxx>

diff --git a/doc/targets.conf.example b/doc/targets.conf.example
index b090008..46be8fe 100644
--- a/doc/targets.conf.example
+++ b/doc/targets.conf.example
@@ -81,13 +81,13 @@ default-driver iscsi
# Note that some parameters (write-cache, scsi_sn) were specified "globally".
# "Global" parameters will be applied to all LUNs; they can be overwritten
# "locally", per LUN.
-#

<target iqn.2008-09.com.example:server.target5>

    <direct-store /dev/sdd>
	vendor_id VENDOR1
	removable 1
+	device-type cd
	# lun 1		# Not yet supported
    </direct-store>

@@ -122,6 +122,7 @@ default-driver iscsi
    #path ...
    #mode_page 8:0:18:0x10:0:0xff....
    #mode_page 8:0:18:0x10:0:0xff....
+    #device-type

    write-cache off
    scsi_sn multipath-10



--
Tomasz Chmielewski
http://wpkg.org
--
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

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux