[stgt] [PATCH 2/2] tgt-admin: document ignore-errors in the config file

Tomasz Chmielewski mangoo at wpkg.org
Tue Jan 27 14:39:33 CET 2009


Document ignore-errors option usage in the config file.


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


diff --git a/doc/targets.conf.example b/doc/targets.conf.example
index 12c3e67..449488c 100644
--- a/doc/targets.conf.example
+++ b/doc/targets.conf.example
@@ -11,6 +11,11 @@ include /etc/tgt/temp/*.conf
 default-driver iscsi
 
 
+# Continue if tgtadm exits with non-zero code (equivalent of
+# --ignore-errors command line option)
+#ignore-errors yes
+
+
 # Sample target with one LUN only. Defaults to allow access for all initiators:
 
 <target iqn.2008-09.com.example:server.target1>
@@ -123,8 +128,8 @@ default-driver iscsi
     #path ...
     #mode_page 8:0:18:0x10:0:0xff....
     #mode_page 8:0:18:0x10:0:0xff....
-    #device-type
-    #allow-in-use	# if specified globally, can't be overwritten locally
+    #device-type ...
+    #allow-in-use yes	# if specified globally, can't be overwritten locally
 
     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