| noauto not recognized by mount Hi,
I have a question about 'mount' options. The man page of mount tells that in order to use a 'short cut' mount command I can add a line into /etc/fstab like below: host_home /mnt/host_home vboxsf ro,noexec,async,nouser 0 0
so that I can always simply use mount host_home
to mount the file system on without typing long options.
However, I do not want host_home to be mounted during boot time ('mount -a'), the 'mount' man page suggests I add a 'noauto' option in fstab file, like below: host_home /mnt/host_home vboxsf ro,noexec,async,nouser,noauto 0 0
This works well too as I no longer get host_home to be mounted during boot time.
However, now when I mount the file system explicitly using mount host_home
I got the error message: unknown mount option 'noauto'
I am so very confused since noauto apparently has effect during boot time (I checked rc.sysinit script and saw the 'mount -a' there), now it is not even recognized?
I am guessing since I am mounting a special file system is it possible noauto option is passed to the special mount program (/sbin/mount.vboxsf) and not recognized by the latter? But I am not sure and I also thinks noauto is such a common option it should be dealt with by 'mount' itself and should not be passed along.
Anybody familiar with this can shed some light? Thanks! |