In FreeBSD, how do I automate the process of mounting of a directory into a jail at boot time? Thank you.
|
feedback
|
migrated from stackoverflow.com Mar 10 '11 at 17:53
This question came from our site for professional and enthusiast programmers.
|
How about using | |||
feedback
|
|
Reading through /etc/default/rc.conf there are some nice entries for setting up jails. Most notable is:
So you could use that to execute a script within the jail to mount a directory (as long as that directory is available from within the jail, such as NFS mounts etc). Alternatively you would just ensure that the mounts are all done before the jail starts by using
Replace the | |||
|
feedback
|