Updates:

Forums updated to SMF version 2.1.1

USB mount

Started by freelancehelp, October 27, 2020, 03:49:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

freelancehelp

If a filesystem in /etc/fstab has a noauto entry, can that filesystem only be mounted manually using the mount command or
is there any chance that it will be automatically mounted by
usbmount ?

The filesystem is used in a USB port.

DavidMcCann

The noauto option applies to booting up — it's to prevent the start-up trying to mount a device that hasn't been plugged in. It won't stop the device being mounted automatically when you do plug it in, as that's done independently.


freelancehelp

Thanks, David.

After further investigation, I agree with what you say.

It now seems to me that the situation is as follows :-

Filesystems in /etc/fstab which have the noauto option are not automatically mounted at boot time, so if these filesystems are already
plugged into USB ports at boot time, they would subsequently have to be manually mounted in order to be used.

Filesystems which are plugged into a port after the system has been booted are automatically mounted.