<div class="gmail_quote">2011/5/31 Kay Sievers <span dir="ltr"><<a href="mailto:kay.sievers@vrfy.org">kay.sievers@vrfy.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/5/31 Björn Busse <<a href="mailto:mail@baerlin.eu">mail@baerlin.eu</a>>:<br>
<div class="im">> I do have some removeable devices configured in fstab with the<br>
> comment=systemd.automount option. Now whenever an application scans the<br>
> filesystem it gets stuck while doing stat() on the mountpoint of those<br>
> devices until I plugin those.<br>
> Reading the man page of systemd.mount i could possibly avoid this by<br>
> writing my own automount units with TimeoutSec but that is however not what<br>
> i want. Any ideas how to solve this?<br>
<br>
</div>If possible, apps need to be fixed to use lstat(), which does not<br>
trigger auto-mounting.<br></blockquote><div><br></div><div>Even 'ls' does this. And Nautilus.</div><div><br></div><div>I experienced it with NFS-mounts and filed a bug some time ago: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=705360">https://bugzilla.redhat.com/show_bug.cgi?id=705360</a></div>
</div>