On Tue, Apr 28, 2009 at 9:18 PM, Timo Myyrd <timo.my...@gmail.com> wrote:
> I encrypted my $HOME with bioctl and just put the 'bioctl -c C -l /dev/sd0g
> softraid0' line to my /etc/rc. Simple and working solution although it
needs
> a little bit tweaking as currently I get dropped to single user mode if I
> misstype my passphrase.  This happens quite easily as I use dvorak layout
> that isn't loaded once the passphrase is prompted.

Maybe this one of mine can be of help:

##
echo "Configuring /home"
TRY=3
while [ $TRY -gt 0 ]; do
        bioctl -c C -l /dev/sd0f softraid0
        if [ $? -eq 0 ]; then
                fsck -p /dev/sd1c \
                && mount -o softdep /dev/sd1c /home
                break
        fi
        let TRY=TRY-1
done
##

I've put this in rc.securelevel.

Ciao,
D.

Reply via email to