The Linux.uk Community Forum

General Help & Advice => Linux Support => Topic started by: freelancehelp on October 27, 2020, 03:49:08 PM

Title: USB mount
Post by: freelancehelp on October 27, 2020, 03:49:08 PM
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.
Title: Re: USB mount
Post by: DavidMcCann on October 27, 2020, 04:17:49 PM
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.
Title: Re: USB mount
Post by: freelancehelp on October 27, 2020, 09:01:43 PM
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.