View Single Post
Old 16th September 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

On this netbook, I have /home encrypted. The fstab(8) entry has both "noauto" and 0 for fs_passno.
Code:
3f76e758fbb26404.a /home ffs rw,nodev,nosuid,softdep,noauto 1 0
My rc.local(5) script includes:
Code:
# mount /home
until bioctl -c C -l /dev/sd0g softraid0; do done
fsck -p /home
mount /home
This script segment will loop indefinitely until success, so if there is a problem with the bioctl command, not just an incorrect passphrase, the rc.local script will continue to loop. It's a personal device so that's not a big concern. I just have to boot single user to fix whatever might be wrong.

Last edited by jggimi; 16th September 2012 at 12:27 PM. Reason: clarity
Reply With Quote