Encrypting /usr/home
tommy
t0m1k at host.sk
Fri Feb 6 10:34:34 PST 2004
Hi!
I solved the problem the "quick and dirty" way. I've added gbde.sh into
my /usr/local/etc/rc.d/:
-----gbde.sh-------
#!/bin/sh
echo " gbde ";
case "$1" in
start)
gbde attach /dev/ad0s1g -l /etc/gbde/ad0s1g && mount /dev/ad0s1g.bde
/crypt;
;;
stop)
umount /crypt && gbde detach /dev/ad0s1g
;;
esac
exit 0
-------------------
And I've made a symlink /home -> /crypt
I know it's not the brightest solution, but it works.
Thanks again for your help.
Regards,
tommy
More information about the freebsd-geom
mailing list