So in a chroot I have a /etc/fstab file. If I run mount -a
in the chroot, it mounts the partitions listed. However, even when using the auto
option, they do not mount when entering the chroot.
What is the best way to get automounting to work with a chroot? I know one way would be to just put mount -a
in some startup file, but it would be better if worked similarly to an actual environment. (In particular, one of the mount points is /usr
, so I'm afraid it will not work correctly unless it happens early enough in the start up process.)