Bart Van Assche
16def0fe3d
scstadmin: Merge r4875:5189 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-01-10 08:27:48 +00:00
Bart Van Assche
96479f9f37
scst: Add "dummy" LUN support (merge r4874 and r4875 from the trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4883 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-05-26 11:30:18 +00:00
Bart Van Assche
8424f516a6
Add fileio_tgt and scstadmin release-archive Makefile target (merge r4732, 4733 and 4734 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-13 17:54:44 +00:00
Bart Van Assche
c16b9c2b3d
Change version 2.2.1-pre into 2.2.1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-12 15:31:48 +00:00
Bart Van Assche
e9de4cc46f
scstadmin, scst.conf man page: Add example for fcst (merge r4181 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4730 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-12 14:01:44 +00:00
Bart Van Assche
8c5e9ae6f5
scstadmin: Truncate config file instead of deleting it before writing (merge r4728 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4729 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-12 13:57:35 +00:00
Bart Van Assche
a775e00bf2
scstadmin/Makefile: Use chkconfig on RHEL instead of the LSB scripts (merge r4612 from trunk)
...
chkconfig is installed by default while /usr/lib/lsb/install_initd and
/usr/lib/lsb/remove_initd are not installed by default.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4693 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:55:48 +00:00
Bart Van Assche
4ce9fbb893
scstadmin/Makefile: Clean up whitespace usage (merge r4611 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4692 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:54:26 +00:00
Bart Van Assche
973745bcba
scstadmin/Makefile, Ubuntu: Use update-rc.d instead of the LSB /usr/lib/lsb/remove_initd - the latter is not installed by default (merge r4609 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:53:18 +00:00
Bart Van Assche
25b37e1640
scstadmin: Add command-line option -no_lip (merge r4474 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4690 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:48:04 +00:00
Bart Van Assche
1dd3cb834d
/etc/init.d/scst: Wait up to 30s before giving up trying to unload a kernel module (merge r4608 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:44:06 +00:00
Bart Van Assche
e48b528b79
/etc/init.d/scst: Introduce character classes and change one tab into a space (merge r4685 and r4686 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4688 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:42:29 +00:00
Bart Van Assche
d5fb1ed147
/etc/init.d/scst: When parsing /etc/scst.conf for "TARGET_DRIVER ... {", accept blanks at the end of the line (merge r4259 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4687 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 09:34:53 +00:00
Bart Van Assche
bb1b060f6d
scstadmin: Fix 0-named groups. (merge r4639 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 08:58:46 +00:00
Bart Van Assche
780f46cef4
scstadmin: Only enable /etc/init.d/scst in runlevels 3 and 5 since networking is not available in runlevels 2 or 4 (merge r4152 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 15:12:31 +00:00
Bart Van Assche
c9f05992d3
scstadmin: Suggest the user to use systemctl (systemd) instead of the LSB installation script if available (merge r4153 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4596 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 15:08:58 +00:00
Bart Van Assche
737aa4e5c7
scstadmin: Make /etc/init.d/scst status work on RHEL 6.2 (merge r4163 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:55:13 +00:00
Bart Van Assche
2ab470f796
scstadmin, FC (NPIV): Make -write_config save the "node_name" and "parent_host" attributes (merge r4306 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4594 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:53:17 +00:00
Bart Van Assche
7cc3997fd5
scstadmin: Make -write_config save the scst_local session name (merge r4304 and r4305 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4593 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:49:46 +00:00
Bart Van Assche
bc6da2b006
scstadmin: Allow hash signs to be escaped (merge r4391 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4592 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:48:14 +00:00
Bart Van Assche
ff41d8c887
scstadmin: Make _syswrite() translate EBUSY into "writing failed" (merge r4400 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4591 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:45:49 +00:00
Bart Van Assche
e991bd4845
scstadmin: Use $(DESTDIR) when uninstalling SCST 2.x startup scripts (merge r4536 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4590 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:42:15 +00:00
Bart Van Assche
9430abe77c
scstadmin: Create /etc/default if it does not yet exist (merge r4537 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4589 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:40:33 +00:00
Bart Van Assche
e562179bab
scstadmin: Handle -EAGAIN when reading from sysfs (merge r4498 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4587 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 14:37:21 +00:00
Bart Van Assche
ffcf6bc9a1
scstadmin: Replace scstadmin/scstadmin by a soft link if it is a regular file. This is a workaround for a bug in the "Download tarball" functionality of the SourceForge website (merge r4129 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-15 10:03:54 +00:00
Bart Van Assche
110af55391
/etc/init.d/scst: Clarify comments (merged r3996 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 18:47:35 +00:00
Bart Van Assche
1f65365675
scstadmin: Add ISCSID_OPTIONS variable in /etc/default/scst (merged r4066 and r4073 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4074 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-16 10:26:22 +00:00
Bart Van Assche
22ef9f6546
Make "/etc/init.d/scst status" exit with code 3 instead of 0 if SCST has not been started as required by the LSB (merge r4047 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4048 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-02 12:11:56 +00:00
Bart Van Assche
6d88abe7e7
scstadmin: Make /etc/init.d/scst work on openSUSE 12.1 (merge r4023 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4044 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-01 17:46:57 +00:00
Bart Van Assche
030f20f9b6
scstadmin: change version number from v3.0.0-pre1 into v2.2.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3997 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 13:23:42 +00:00
Bart Van Assche
ea4de63afc
Merge scstadmin from trunk. Hence add support for saving and restoring the ALUA state, unify the qla2x00t/iSCSI-SCST and SCST init scripts, compute the SCST handler kernel module list from /etc/scst.conf and add man pages for scstadmin, /etc/scst.conf and /etc/default/scst. (svn merge -r3389:3982 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scstadmin/Makefile Makefile)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3983 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 09:45:18 +00:00
Vladislav Bolkhovitin
189fef8e15
Merged revisions 3672-3675 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3672 | bvassche | 2011-07-10 07:04:49 -0400 (Sun, 10 Jul 2011) | 1 line
fcst: Add a paragraph to the README
........
r3673 | vlnb | 2011-07-15 23:41:06 -0400 (Fri, 15 Jul 2011) | 3 lines
put_page_callback patch for RHEL61 implemented by Patrick Zwahlen <paz@navixia.com >
........
r3674 | bvassche | 2011-07-17 07:34:09 -0400 (Sun, 17 Jul 2011) | 1 line
scstadmin: Fix a documentation inconsistency
........
r3675 | bvassche | 2011-07-17 09:10:39 -0400 (Sun, 17 Jul 2011) | 1 line
scstadmin -list_drv_attr: Do not print the error message "No such driver found" for target drivers without attributes
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:28:31 +00:00
Vladislav Bolkhovitin
7117946c2a
Merged revisions 3653 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3653 | bvassche | 2011-07-03 05:36:33 -0400 (Sun, 03 Jul 2011) | 1 line
scstadmin: Add command-line options -h and --help
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:13:07 +00:00
Vladislav Bolkhovitin
c233f5a64f
Merged revisions 3652 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3652 | bvassche | 2011-07-02 08:30:34 -0400 (Sat, 02 Jul 2011) | 1 line
Send scstadmin help text to stdout instead of stderr such that it is easier to pipe to less
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:12:00 +00:00
Vladislav Bolkhovitin
d0cce4dd52
Merged revisions 3596-3597 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3596 | bvassche | 2011-06-19 12:38:53 -0400 (Sun, 19 Jun 2011) | 1 line
scstadmin: Fix a typo
........
r3597 | bvassche | 2011-06-19 12:39:52 -0400 (Sun, 19 Jun 2011) | 1 line
scstadmin: Escape a single quote in order not to confuse syntax highlighting editors
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3605 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-20 20:52:08 +00:00
Bart Van Assche
148776e623
scstadmin(sysfs): Make writing top-level non-key attributes work. Do not indent these attributes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3594 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-19 06:22:01 +00:00
Vladislav Bolkhovitin
591490f090
Merged revisions 3491 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3491 | bvassche | 2011-05-28 11:59:16 -0400 (Sat, 28 May 2011) | 1 line
scstadmin: fixed bug in "make uninstall" - specify proper directory when uninstalling scstadmin.
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-09 20:54:53 +00:00
Bart Van Assche
b41f15d39c
scstadmin/Makefile robustness improvements for the "install" target (backported r3480).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3481 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-26 18:27:02 +00:00
Vladislav Bolkhovitin
0bfa54bfb8
Merge the trunk's rrs 3438:3445, 3447:3450, 3452:3456 and 3458:3466
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 23:02:07 +00:00
Vladislav Bolkhovitin
f518cd150c
Let's remove *.orig and *.rej files on extraclean
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 20:07:23 +00:00
Bart Van Assche
7325753fda
Avoid that make disable_proc/enable_proc triggers a warning about the soft link scstadmin not being found.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-29 10:31:23 +00:00
Mark Buechler
229f8cff60
- Expose -set_grp_attr argument in help output.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3202 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-07 15:38:51 +00:00
Bart Van Assche
579a155d90
Make -write_config write device names in alphabetical order.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3199 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-06 18:31:58 +00:00
Bart Van Assche
5fe037e5b9
Updated my e-mail address in copyright statements and README files.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:48:14 +00:00
Vladislav Bolkhovitin
42ceeef996
Update docs to make former README.sysfs default README
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3174 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:08:52 +00:00
Vladislav Bolkhovitin
95344e3368
Rename README.sysfs to README
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3173 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:03:47 +00:00
Vladislav Bolkhovitin
f2bdf9f8ec
Rename README to README.procfs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3172 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:03:04 +00:00
Mark Buechler
f55ccbe2cd
- Small cleanup of issueLip().
...
- Issue a LIP on any changes which might effect initiators.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3011 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-10 16:08:52 +00:00
Mark Buechler
8f8dffd91b
- Exit 0 and issue warning on empty config file.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2979 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-08 15:01:48 +00:00
Mark Buechler
b12f90f23f
- Fix init script for CentOS/RedHat. Patch by fzago@systemfabricworks.com
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2978 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-08 14:57:48 +00:00