to prevent an infinite loop. Since we're using rand() here,
it's possible we could exit the loop with no unique name.
However, this is pretty unlikely considering thousands
if temp group names would have to already exist.
- Fail out if we can't come up with a temp group name and just
use the original specified.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1143 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Added new [OPTIONS] section to config file.
- Added new ISSUE_LIP option for fc targets to issue a LIP after group
assignment changes.
- Added new KEEP_CONFIG option to keep all options when overwriting a
configuration file with -writeconfig.
- General cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1134 d57e44dd-8a1f-0410-8b47-8ef2f437770f
configuration function to only write vdisk and vcdrom devices. All other devices
are automatically claimed by their handler module. I'm not sure how this will work
with devices we wish to change handlers for.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1110 d57e44dd-8a1f-0410-8b47-8ef2f437770f
of deleting from one and adding to another the same user.
- Minor fix to readConfig() which wasn't fully allowing for empty groups.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1105 d57e44dd-8a1f-0410-8b47-8ef2f437770f
mainly READ_ONLY for now.
- Updated module to accept more than one option for assignDeviceToGroup() and
replaceDeviceInGroup().
- Incremented module version number and renamed module directory to reflect it.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
and replaceDeviceInGroup() and increased the min. SCST supported
version to 1.0.2.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1098 d57e44dd-8a1f-0410-8b47-8ef2f437770f
I replaced all occurences of DISTDIR with DESTDIR and also introduced SBINDIR (and friends) to some other Makefiles.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@719 d57e44dd-8a1f-0410-8b47-8ef2f437770f
for the install so lsb commands come last should lsb not exist
on the system, at least the rest of install works.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- SCST.pm: Cosmetic changes to error messages - include the handler name.
- SCST.pm: Quote handlers, handler IOs, devices, users and groups in error messages.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@623 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Changed a few returns to 1 instead of $TRUE since really they're
int returns and not boolean.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@618 d57e44dd-8a1f-0410-8b47-8ef2f437770f
proper man page.
- Renamed Changes to ChangeLog
- Updated README to include instructions for installing the perl module.
- Renamed SCST perl module directory tp scst-0.7.4
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Minor race on BLOCKIO requests submittion was fixed
- Other minor fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
name was the same as an assignment immediately following
it.
- Added support for undefined groups at the time of assignment.
If a given group does not exist, an empty group will be
created and a warning will be issued.
- Make method cleanupString() in SCST::SCST private.
- Minor updates.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
for each device.
- Added option processing. The new API wants the option BLOCKIO,
but SCST then shows the device having been opened with
option BIO. We now warp BIO to BLOCKIO.
- Added the concept of handler aliases. Handler vdisk with
option BLOCKIO shows as a handler of vdisk_blk. We now
warp vdisk_blk to just vdisk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@184 d57e44dd-8a1f-0410-8b47-8ef2f437770f