What "resets" the automounter timeout?

Solution Verified - Updated -

Issue

  • What are the conditions by which the kernel will "reset" the automount timeout for a given mount?
  • For example, if I run a cronjob that does stat() on an automounted dir every 5 minutes (but there are no open files in it) and the autofs timeout is 15 minutes, will the automounter go ahead and unmount the dir?  Or will the persistent stat() calls keep resetting the timer such that it'll never hit that 15 minutes of inactivity?

Environment

  • Red Hat Enterprise Linux 5.7 or below
  • automount / autofs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.