From my understanding of /etc/systemd
options, noauto
means that the device will not be mounted at boot time (or with mount -a
).
Is there any situation where adding nofail
changes the behaviour if noauto
is already given, or is it totally redundant?
man
systemd.mount(5)
says:
With
noauto
, this mount will not be added as a dependency for local-fs.target or remote-fs.target. This means that it will not be mounted automatically during boot, unless it is pulled in by some other unit.With
nofail
, this mount will be only wanted, not required, by local-fs.target or remote-fs.target. This means that the boot will continue even if this mount point is not mounted successfully.
What about automount situations?