History log of /freebsd-10.0-release/etc/rc.d/gbde
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 180563 16-Jul-2008 dougb

As previously discussed, add the svn:executable property to all scripts


# 149049 14-Aug-2005 pjd

Move 'local_tr' function to rc.subr and change its name to 'ltr'.

MFC after: 3 days


# 141038 30-Jan-2005 pjd

Add a comment which explain why we need to use special function instead of
tr(1)/sed(1)/awk(1).


# 140671 23-Jan-2005 pjd

We cannot use sed(1), because rc.d/gbde has to be called before
rc.d/mountcritlocal and sed(1) is placed in /usr/bin/. Other useful tools
for this task are also placed in /usr/ (tr(1), awk(1)), so I implemented
local_tr() function which works simlar to tr(1).

Reported by: Amir Shalem <amir@boom.org.il>
MFC after: 1 week


# 140580 21-Jan-2005 pjd

Fix handling of providers with / in them (e.g. mirror/foo).

Submitted by: Attila Nagy <bra@fsn.hu>
MFC after: 1 week


# 136224 07-Oct-2004 mtm

Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days


# 136212 07-Oct-2004 pjd

- Be more userfriendly and allow to specify gbde device name in those forms:
device
device.bde
/dev/device
/dev/device.bde
- Fix stop routine:
+ There don't have to be file system mounted on gbde device,
so ignore errors from umount(8).
+ Only detach existing gbde devices.


# 136209 07-Oct-2004 pjd

Only try to attach if parent device actually exists.
I used ugly "/dev/${parent}" instead of "${parentdev}", because "/dev/"
prefix for devices listed in gbde_devices variable is optional.

Reported by: Sean McNeil <sean@mcneil.com>


# 136193 06-Oct-2004 pjd

Lock file for gbde devices is optional.


# 132356 18-Jul-2004 simon

For the gbde attach script:
- Ask the user up to X times (3 by default) for the pass-phrase, if
it is incorrect the first time.
- Add support for storing the lockfiles in another other directory
than /etc.
- Document that it is possible to override the location of each single
lockfile.

Approved by: pjd


# 126744 08-Mar-2004 pjd

Mark scripts as not usable inside a jail by adding keyword 'nojail'.

Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>


# 125385 03-Feb-2004 des

Missed one in previous commit.


# 125384 03-Feb-2004 des

Style fixes.


# 116456 17-Jun-2003 wollman

Add a script to automatically attach gbde devices found in fstab
(or rc.conf) at boot time, and detach them when shutting down. Not
added to the Makefile to give the rcng gurus an opportunity to improve
it.