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.