Mark Buechler
7f5c6fe8c1
- Refuse to add an initiator to more than one group with -add_init.
...
- Error out if a given initiator is found in more than one group
in running configuration. Using -force will override.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2046 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-03 22:06:36 +00:00
Mark Buechler
9be0886ade
- When initiators are moving between groups, use moveInitiator() instead
...
of removeInitiator() and addInitiator().
- Check to make sure initiators don't belong to multiple groups.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2045 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-03 21:49:22 +00:00
Vladislav Bolkhovitin
716107a964
Docs updates before making the sys interface default
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2039 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-03 16:38:19 +00:00
Mark Buechler
817007a747
- Forgot to commit these for the CREATE_ATTRIBUTES removal.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2035 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-02 17:39:38 +00:00
Mark Buechler
f891161def
- Fixed clear_config not clearing driver dynamic attributes.
...
- Removed requirement on special CREATE_ATTRIBUTES.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2034 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-02 15:45:30 +00:00
Mark Buechler
d91b690a39
- Add in host to output from -issue_lip.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2031 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-31 19:37:16 +00:00
Mark Buechler
4db6a80be7
- Add -issue_lip argument.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2030 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-31 19:35:54 +00:00
Mark Buechler
0f3f5f7bc4
- List dynamic attributes as well for -list_drv_attr and -list_tgt_attr.
...
- Finish out README.sysfs examples.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-31 18:49:18 +00:00
Mark Buechler
17d22f86d7
- Add new README.sysfs (unfinished)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2028 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-31 17:28:49 +00:00
Mark Buechler
a8ba8fd9e7
- List create attributes in -list_hnd_attr, -list_tgt_attr and -list_grp_attr.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-31 17:27:21 +00:00
Mark Buechler
164d28ce66
- An even better fix for the previous create attribute bug.
...
- Consider create attributes for LUNs within groups as well.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2014 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-26 22:52:04 +00:00
Mark Buechler
3f26d8f75c
- Better fix for no create attributes takes into consideration other attributes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2013 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-26 22:31:35 +00:00
Mark Buechler
5b88e3ee1a
- Reorder/reword some of the help message.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2012 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-26 22:09:21 +00:00
Mark Buechler
edf378a1e2
- Fix setting device attributes which have no special create attributes.
...
- Don't warn on device attributes already set of not done with -set_dev_attr.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2011 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-26 22:05:53 +00:00
Mark Buechler
020072cb5b
- Fix some argument parsing.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2009 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-26 15:30:37 +00:00
Mark Buechler
fe447b1c3e
- Capture SIGTERM as well as SIGHUP.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2007 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 20:29:38 +00:00
Mark Buechler
ae4833b40b
- MAX_LUNS is no longer used.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2006 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 20:25:09 +00:00
Mark Buechler
a496540fc8
- Typo fix.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2005 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 20:23:58 +00:00
Mark Buechler
b6607818c2
- Missed a couple -issue_lip's.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2004 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 20:14:10 +00:00
Mark Buechler
7152807e88
- Remove -issue_lip since it's no longer supportable.
...
- Fix help messaage.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2003 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 20:13:12 +00:00
Mark Buechler
2011e50e47
- Minor fixes to writeConfig().
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2002 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 19:59:30 +00:00
Mark Buechler
92467af270
- Finish -list_sessions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2001 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 19:44:51 +00:00
Mark Buechler
47fb2919c7
- Fix resetting a create/assignment attribute to default by
...
removing it from the config file.
- Fix closing pass-through devices on clearConfig().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1992 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 18:43:49 +00:00
Mark Buechler
2de6b5ead6
- Support changing assignment attributes with -force.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1989 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 17:52:35 +00:00
Mark Buechler
4f6d6ed38d
- Minor output fix to clearLuns for groups and targets.
...
- Support new last_sysfs_mgmt_res interface.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1988 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 16:53:22 +00:00
Mark Buechler
15edb66a7a
- Fixed removing pass-through devices from handlers.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1987 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 15:11:42 +00:00
Mark Buechler
96454526b5
- Properly re-open devices where create attributes have changed.
...
- Remove unconfigured virtual targets.
- A few minor fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-25 15:01:07 +00:00
Mark Buechler
ed4e1e91c0
- Add in forgotten list_group_attr and set_group_attr options.
...
- Add prompting and -noprompt options.
- Fix small issue with setGroupAttributes().
- Fix error reporting when setting attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1976 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-23 16:50:06 +00:00
Mark Buechler
d6f3264de7
- Remove device requirement from removeLun().
...
- Fix a couple cases where -group is not really required.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1964 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 17:58:06 +00:00
Mark Buechler
21e0babdc2
- Misc fixes to remaining options.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1961 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 15:20:13 +00:00
Mark Buechler
ed9a0bd470
- Added in add_target & rem_target options.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1960 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 14:59:38 +00:00
Mark Buechler
f154480e68
- Minor fix for setting attributes which aren't readable.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1958 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-18 15:28:18 +00:00
Mark Buechler
95cbc2bbf5
- All list/set attribute options now work.
...
- Adding and removing target & driver attributes now work.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1957 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-18 15:02:33 +00:00
Mark Buechler
7b836c12aa
- Add a couple more options to the help screen
...
which will be implemented in the coming days.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 20:24:48 +00:00
Mark Buechler
13323936b4
- Better list trace levels.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1925 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:50:36 +00:00
Mark Buechler
819e3ea27e
- Fix a bunch of set attribute functions as well as special handling for trace_level.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1924 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:46:37 +00:00
Mark Buechler
90357a4cb7
- Finish up list functions, except for list_sessions.
...
- Allow '0' named driver, target, groups, luns and attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1921 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 17:39:05 +00:00
Mark Buechler
f734133e4a
- Small fix to list_group.
...
- Fix -list-scst-attr.
- Fix -list_dev_attr.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 16:38:49 +00:00
Mark Buechler
ebeeebf2d2
- Fix list_group.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 16:15:50 +00:00
Mark Buechler
f5d4013804
- Fix list_target.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1914 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:08:15 +00:00
Mark Buechler
27a5feb7e9
- Fix list_driver.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1913 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:03:37 +00:00
Mark Buechler
c77d7d62cc
- Fix list_handler and build-out list_device.
...
- Small fix to checkConfiguration().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1912 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 14:59:37 +00:00
Mark Buechler
4c7079dd3c
- Enhance checkConfiguration() a bit.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1911 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 13:44:49 +00:00
Mark Buechler
0857c68f7d
- Be less verbose with the 'enabled' attribute.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-29 16:44:32 +00:00
Mark Buechler
32d9107dfd
Big changes.
...
1. Simplify attribute setting to use a generic setAttributes()
function for anything requiring non-dynamic attributes.
2. Reorder function argument to always be the same as their
associated SCST::SCST methods.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-29 15:27:24 +00:00
Vladislav Bolkhovitin
2d9343958b
Patch from Benjamin Yates <benjamin@rqdq.com> improving archlinux pkgbuild build.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 18:44:06 +00:00
Mark Buechler
dddcae1418
- Set driver and handler attributes on commit as well.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1886 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 15:36:06 +00:00
Mark Buechler
eb124ec057
- Properly handling of auto-enabled targets/drivers while
...
reading a deprecated config file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1885 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 14:46:41 +00:00
Mark Buechler
96aaba2829
- Create targets from old Default_ groups for all drivers
...
capable of dynamic target creation.
- While converting an old config file, set 'enabled' to 1 for
all non-qla drivers which have the 'enabled' attribute so
their targets can become enabled as well.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1884 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 14:06:57 +00:00
Mark Buechler
95072429d8
- Don't tream an hash like an array.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1883 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-28 13:27:56 +00:00