Date: Fri, 06 Feb 2004 19:34:15 +0100 From: tommy <t0m1k@host.sk> To: paul@gromit.dlib.vt.edu Cc: freebsd-geom@freebsd.org Subject: Re: Re: Encrypting /usr/home Message-ID: <4023DE27.7050108@host.sk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4023DE27.7050108>
