Date: Fri, 16 Dec 2005 15:04:28 +0100 From: Helge Preuss <helge.preuss@gmx.net> To: Erik Norgaard <norgaard@locolomo.org> Cc: freebsd-questions@freebsd.org Subject: Re: Order of rc file execution [solved] Message-ID: <43A2C96C.90304@gmx.net> In-Reply-To: <43A2C06A.4040805@locolomo.org> References: <43A2AD65.9080607@gmx.net> <43A2AFD6.4000506@locolomo.org> <43A2B86B.9020800@gmx.net> <43A2C06A.4040805@locolomo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Erik Norgaard wrote: > Helge Preuss wrote: > >> >>>> I use a GBDE-encrypted /var partition which i attach and mount >>>> during boot in rc.local. >>> >>> >>> why don't you use /etc/rc.d/gbde? (btw, which version of FBSD?). >> >> >> Heh, because I didn't know about it! Thanks, this looks like the >> cleanest solution. >> >> How do I use this script? If I interpret the source correctly, I >> should just set >> gbde_devices-auto="AUTO" >> in /etc/rc.conf and enter my encrypted partition in the fstab? > Actually, the variable ${gbde_devices-auto} in /etc/rc.d/gdbe is almost certainly a typo. I changed it to ${gbde_devices_auto}. Additionally, one has to set gbde_lock_[device]=/path/to/lockfile or gbde_lockdir=/path/to/lockdir [where the lockfile(s) must have the encrypted slice's name and a '.lock' extension in /etc/rc.conf. Having done this, i have a solution for mounting encrypted partition at boot, which seems perfectly clean to me. Wonderful. >> >> Dummy question: Where should I look to find documentation about >> scripts like this? I haven't found it mentioned in either the >> handbook or the manpages. > > > I don't know. It might not be documented so well yet, but there's an > rc mailing list, try search the archive: > > http://lists.freebsd.org/pipermail/freebsd-rc/ > > Cheers, Erik -- Helge Preuss Freelance Software Developer +49 177 2262 484 helge.preuss@gmx.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A2C96C.90304>