[systemd-devel] apps stuck with systemd.automount when device not present

Kay Sievers kay.sievers at vrfy.org
Mon May 30 20:07:41 PDT 2011


2011/5/31 Björn Busse <mail at baerlin.eu>:
> I do have some removeable devices configured in fstab with the
> comment=systemd.automount option. Now whenever an application scans the
> filesystem it gets stuck while doing stat() on the mountpoint of those
> devices until I plugin those.
> Reading the man page of systemd.mount i could possibly avoid this by
>  writing my own automount units with TimeoutSec but that is however not what
> i want. Any ideas how to solve this?

If possible, apps need to be fixed to use lstat(), which does not
trigger auto-mounting.

Kay


More information about the systemd-devel mailing list