diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2010-06-11 06:56:33 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2010-07-01 20:49:45 -0500 |
commit | e5025aef77b9484e4bcb04b35aa54c061059e865 (patch) | |
tree | 68bcc43c82ee9fab74f3aa6c9d8ce00ad92c054b /usr/session_mgmt.h | |
parent | 3b415b25baf3e0f95a07562d0533ba89bd5a4694 (diff) | |
download | open-iscsi-e5025aef77b9484e4bcb04b35aa54c061059e865.tar.gz |
iscsiadm: fix discovery record management
We recently added the ability to use and update discovery
records. when this was done, we had
iscsiadm -m discovery -t st -p ip:port
use the record value if found. This will break compat with
older releases and it is a little strange because
iscsiadm -m discovery -p ip:port [ -o ... | -l ]
works on or uses the discovery record.
So this patch reverts iscsiadm behavior so that
iscsiadm -m discovery -t st -p ip:port
uses the iscsid.conf settings, and adds a new --discover|-D
command that can be used to force discovery.
iscsiadm -m discovery -p ip:port --discover
will force discovery using the record with the ID ip:port.
Diffstat (limited to 'usr/session_mgmt.h')
0 files changed, 0 insertions, 0 deletions