[PATCH] Dont set the modepages in the example

Ronnie Sahlberg ronniesahlberg
Tue May 6 08:13:29 CEST 2008


No need to specify the modepages in the example since they
are set automatically when the device is initialized anyway.
No need to make the example more complicated than it has to be.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
---
 doc/README.mmc |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/doc/README.mmc b/doc/README.mmc
index 514e15a..265b95a 100644
--- a/doc/README.mmc
+++ b/doc/README.mmc
@@ -65,13 +65,6 @@ tgtadm --lld iscsi --mode logicalunit --op new
--tid 1 --lun 1 -b /tmp/empty-dis
 SN=XYZ123
 tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params vendor_id=STGT_DVD,product_id=DVD101,product_rev=0010,scsi_sn=$SN,removable=1

-# Vendor Uniq - Mode page 0..
-tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params mode_page=0:0:0
-# ctrl mode page
-tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params mode_page=10:0:10:2:0:0:0:0:0:0:0:2:0
-# Informational Exceptions Control Mode Page
-tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1
--params mode_page=0x1c:0:10:8:0:0:0:0:0:0:0:0:0
-

 # Allow ALL initiators to connect to this target
 tgtadm --lld iscsi --mode target --op bind --tid 1 -I ALL
-- 
1.5.5

------=_Part_11110_32233178.1210056347050
Content-Type: application/x-gzip;
 name=0001-Dont-set-the-modepages-in-the-example.patch.gz
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ffw44tqa0
Content-Disposition: attachment;
 filename=0001-Dont-set-the-modepages-in-the-example.patch.gz

H4sICCD9H0gAAzAwMDEtRG9udC1zZXQtdGhlLW1vZGVwYWdlcy1pbi10aGUtZXhhbXBsZS5wYXRj
aAC1VG1v0zAQ/u5fcRJ8YGqT2W2TrhVFm9YBk7ZpWgfiRWhy7GtqcOyQuNuK+PGc0wnYJiEhQRLF
9unueR77fPey8RUUuc45lyMlx5NC5UOuCjURfDQocDzGbJkX46zIhhM49Q4WWIMYA+fT7oMB54K9
JJgpXHjnDMJCrmyBTQnPm87Q3q33y0oamypfvWBzGXAKl2vsQw6nchNh9kDkUzGcDibQE5xztlgX
n1GFKXw8P7g8fP0J5t4FaDFAWCFUXmMtS2zBuM6At7KqLTJ25sEhagge2hqVWW7+GACtcQqjZcNk
gx2BXAdfyWCUtHYDNyvcRmi8NuRqIoQJRlrzjXik29zITfo7byW/4D2OyhMybb22hBmi00o6MAFW
so0BBaaMLUzpUCd+uUyKzV+dZ5IkDLRXuxdHB/PTo7SqFHwHesaQbB8GApbG0u4VMZeo+8BpFy02
wXjXPuvt9MlZo8XtOtlhTJvlkuJLkil3H6AXDwzMOI23kIkRikym6SDPikkmgTKZj0ZR4CMM1uv1
HuPs70OSZ30xhB4NOdA6lEHqipRYq+nwVWtoHtMJ1pcxR2vKBpl8TQm4oUkwmrZL/msXxwJ2Q1Xv
YlWHTaJNy2BxNnv3/oMYDNnfgK9rTbl7jJ/UspFVC9fotG+ujJ4tLl9dXs3fzvt14/VahWijpeDi
p6XB6xnVDu9HyqvWzZ4uzvoNVv5aFhZnggFLnsDbDhLeOPMVEipAkhXvMPA0Zck/lB6jriLyjKp6
yiO1Co3t7B3jf2ITkY5+gym/9w62Go7d0jexEL2TFo5uFdbd9YRDagWNt9sTOf9/+vitUFuFew8U
dqdESYIncGCtv4GDk5O7thB80xW1onqlBhanYUVNI8imxPCnK7f12IosqKJ+STyO+FRGwESapRlj
PwB+M0RTuwUAAA==
------=_Part_11110_32233178.1210056347050--



More information about the stgt mailing list