*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I set FreeBSD to mount NFS shares before /home?
My /home is a geli-encrypted partition. Until now, I've mounted it manually after every boot. The encryption keyfile is located on an NFS share (which is located on an encrypted partition on the server computer).
When I add the entry for the /home-partition (with the .eli-extension) to fstab, it asks nicely for the password for it at boot, but then obviously fails as the NFS share with the keyfile is not yet mounted.
Or should I just test something like pam_mount for FreeBSD (using it on Linux)?
Thank you for the answer, I've read through the fstab man-page a dozen times and unfortunately it does NOT mount the filesystems in linear order. I've placed the line for /home as last and it still mounts it before the NFS mountpoint (also specified in fstab, not for automounter).
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425
Rep:
Quote:
Originally Posted by make
Thank you for the answer, I've read through the fstab man-page a dozen times and unfortunately it does NOT mount the filesystems in linear order. I've placed the line for /home as last and it still mounts it before the NFS mountpoint (also specified in fstab, not for automounter).
What if you removed /home from fstab entirely and autoloaded a script to mount /home after checking to see if all fstab mounts had been accomplished?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.