How to configure autofs5 timeout on per-filesystem basis?

Posted by Norman Ramsey on Server Fault See other posts from Server Fault or by Norman Ramsey
Published on 2012-06-20T21:58:27Z Indexed on 2012/06/30 21:19 UTC
Read the original article Hit count: 265

Filed under:
|
|

Because of a show-stopping bug in Debian autofs 4, I just upgraded to autofs5. It is not honoring the timeout option in my auto.master file:

/var/autofs/removable /etc/auto.removable --timeout=2

I use this map for thumb drives and so on; I don't want a general default timeout of 2 seconds.

I did some digging and although the --timeout option worked in autofs 4, and it appears in some examples on the Web, it is not actually sanctioned (or even mentioned) in the documentation for the auto.master file. So I don't feel I can report the problem as a bug.

How can I get autofs5 to timeout after 2 seconds only on designated filesystems?


Update: I am using a Debian-packaged autofs5, version 5.0.4-3.2.

© Server Fault or respective owner

Related posts about linux

Related posts about debian