[systemd-devel] apps stuck with systemd.automount when device not present
Jan Willies
jan at willies.info
Mon May 30 23:54:18 PDT 2011
2011/5/31 Kay Sievers <kay.sievers at vrfy.org>
> 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.
>
Even 'ls' does this. And Nautilus.
I experienced it with NFS-mounts and filed a bug some time ago:
https://bugzilla.redhat.com/show_bug.cgi?id=705360
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110531/15009f7f/attachment.htm>
More information about the systemd-devel
mailing list