diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-05-28 10:49:01 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-05-28 10:49:01 +0000 |
commit | 53d688884a33afd2b48e084de5bc927118666a2d (patch) | |
tree | 01d752e5ff963b3bffed2bd708ea0c90c4aed7bc /doc | |
parent | 658960ed754dfffa8e272072ff45427f758fab9c (diff) | |
download | open-iscsi-53d688884a33afd2b48e084de5bc927118666a2d.tar.gz |
from patmans@us.ibm.com: Add a -M --map sys option, so we can select a record based on the sysfs directory rather than a record id (maps a sysfs open-iscsi directory to a open-iscsi record).
git-svn-id: svn://svn.berlios.de/open-iscsi@592 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'doc')
-rw-r--r-- | doc/iscsiadm.8 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8 index e7ec3ff..6c306e2 100644 --- a/doc/iscsiadm.8 +++ b/doc/iscsiadm.8 @@ -5,7 +5,7 @@ iscsiadm \- open-iscsi administration utility \fBiscsiadm\fR -m discovery [ -dhV ] [ -t type -p ip [ -l ] ] | [ -r recid ] [ -o operation ] [ -n name ] [ -v value ] -\fBiscsiadm\fR -m node [ -dhV ] [ -S ] [ -r recid [ -l | -u ] ] +\fBiscsiadm\fR -m node [ -dhV ] [ -S ] [ [ -r recid | -M sysdir ] [ -l | -u ] ] [ [ -o operation ] [ -n name ] [ -v value ] [ -p ip ] ] \fBiscsiadm\fR -m session [ -dhV ] [ -r [sid:]recid [ -u | -s ] ] @@ -45,6 +45,17 @@ of their respective records are displayed; for \fIsession\fR, all active sessions and connections are displayed. .TP +\fB\-M, \-\-map \fIdir\fR +Use the record id associated with the sysfs open-iscsi directory +\fIdir\fR, where \fIdir\fR is the directory of the corresponding +scsi device, for example: + +.ft R + /sys/devices/platform/host0/session0/target0:0:0/0:0:0:0 +.IP +Valid only in node mode, and cannot be used with the \fB\-r\fR option. + +.TP \fB\-n\fR, \fB\-\-name=\fIname\fR Specify a field \fIname\fR in a record. For use with the \fIupdate\fR operator. |