On Monday, July 3, 2023, Olaf Meeuwissen via Dng <dng@???> wrote:
>
> Steve Litt <slitt@???> writes:
>
> > al3xu5 via Dng said on Fri, 30 Jun 2023 09:00:07 +0200
> >
> >>Just another point: how to keep it after a reboot?
> >>Should I put the bind mount in fstab?
> >
> > I don't know. Nothing in the 6 fields of /etc/fstab dictate order of
> > mounting (field 6 dictates order of *checking*). I don't know if
> > /etc/fstab is guaranteed to be done in order: If so put the bind mounts
> > after the other mounts.
>
> Citing from `man fstab`
>
> The order of records in fstab is important because fsck(8), mount(8),
> and umount(8) sequentially iterate through fstab doing their thing.
>
if it didn't you'd already get into trouble with classical partitioning
schemes like
/usr ...
/usr/src ...
/usr/local ...
or the mount command would have to have some windoze-like magic determining
the appropriate mount order.
--
sent from mobile