Re: disable autofs timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, May 8, 2010 at 10:16 AM,  <aurfalien@xxxxxxxxx> wrote:
> Hi,
>
> Does setting the autofs timeout=0 create a permanent mount?
>
> What I'm trying to do is get the best of both world;
>
> 1) Have a persistent mount so that users can use autocompletion.
> 2) utilize the benefits of autofs so that when an NFS resource becomes
> unavailable, the system doesn't hang.
>
> I've tried a timeout of 0 but it doesn't seem to work.


A simple solution would be to setup a cron job that runs every 5
minutes and does
    ls /mount/point > /dev/null
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux