[systemd-devel] Automount behavior

Lennart Poettering lennart at poettering.net
Tue Jul 16 18:37:46 PDT 2013


On Sun, 16.06.13 22:32, Mickaël THOMAS (mickael9 at gmail.com) wrote:

> 
> I've also found another issue regarding this (it's a small issue but still...)
> 
> Using "nofail" (and implied "auto") works as expected but if the
> device is not there at boot time, systemd will try to mount it anyway
> and fail after a certain timeout.
> Problem is, if I happen to shutdown my machine before the timeout
> ends, it will hang until the timeout has passed.
> Ideally, I don't need systemd to try to mount the device if the disk
> isn't there. Perhaps this could be the behavior when "nofail" option
> is used.
> 
> What's your thoughts about this?

Oh, umm. So "nofail" is not supposed to cause delays at boot
really. This really should just mount the fs if it is found during
early-boot. If it isn't found it shouldn't get mounted or anything
delayed for it.

if this causes a delay for you then there's a bug somewhere.

What's the precise fstab line you use now?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list