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

Tomasz Chmielewski mangoo at wpkg.org
Fri Sep 26 11:32:13 CEST 2008


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


Signed-off-by: Tomasz Chmielewski <mangoo at wpkg.org>

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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list