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?
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.
BTW, I use 5.4.
As an ugly workaround i copied the ld*.so.hints to the encrypted
/var/run, but obviously it is better to run /etc/rc.d/local before
/etc/rc.d/ldconfig. I understand I can achieve this by changing the line
# BEFORE: LOGIN
in local to
# BEFORE: ldconfig
and change the REQUIRE line too to avoid a circular dependency.
I'd just like to ask the list whether there is a way which does not
require changing system-supplied scripts. I'd prefer making my edits
in a centralized way (for instance, editing something like
/etc/rc.local) instead of something under rc.d.
Option 1: seems to be use /etc/rc.d/gbde to mount your /var
Option 2: seems to be create your script under /etc/rc.d with the
desired BEFORE line.
This doesn't change system supplied scripts, but when you do
mergemaster then you will be asked if you want to delete this "stale"
script.
Cheers, Erik
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"