Mount order of fstab

illoai at gmail.com illoai at gmail.com
Thu Feb 22 03:25:31 UTC 2007


On 21/02/07, Troy Schultz <freebsd at untoldfaith.com> wrote:
> Hello,
>
> I am trying to mount a smb share into a jail.
> The way that I am trying to accomplish this is:
>
> 1. mount the smb share onto /mnt read only
> 2. mount the /mnt share into the /jail/xxx.xxx.xxx.xxx directory nullfs
>
> This all works by hand. However, when set in fstab to mount the smb
> share and then the nullfs following it, the nullfs is mounted first
> then the smb share and this shows nothing. Is there a way that I can
> force the order or am I just plain doing something wrong?

No experience with this, but the "late" option
in mount(8) might be your key.

-- 
--


More information about the freebsd-questions mailing list