16
2
Entries in fstab
exist ONLY to specify things to mount at system boot or manually with mount -a
, right? But I was reading up on the noauto
mount flag, which apparently makes corresponding fstab entries NOT auto mounted.
So why would you ever put an entry in fstab
with noauto
? What purpose would it serve?
My guess is that I'm wrong about fstab
's only purpose being to provide arguments to mount -a
.
I was not aware that
mount
had a usage that did not include both the block device and the mountpoint. Guess I should just RTFM -man mount
and search forfstab
quickly shows the answer as well. Thanks for clarifying! – ACK_stoverflow – 2016-02-10T18:01:52.587In fact, fstab is used to provide rules by which devices are mounted, whether at boot time or not.
Such as? – Melab – 2017-05-19T16:25:49.650@Melab credentials for mounts requiring username and password, auto or noauto, the type of filesystem of the mount, whether it is readonly or not, what to do in case of errors. – MariusMatutiae – 2017-05-19T17:21:16.903