Difference between revisions of "OS-Linux-Service-Autofs"

From KRayWiki
Jump to navigation Jump to search
(Copy from PmWiki and reformat for MediaWiki.)
 
(Undo revision 134 by Krb (talk))
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 04:59, 1 February 2018

After installing autofs, it does not necessarily auto-start:

  • sudo chkconfig --list autofs
  • sudo chkconfig --add autofs
  • sudo service autofs status
  • sudo service autofs start

Restart autofs after changing configuration files:

  • sudo service autofs start
    • The restart may be ineffective if any of the mount points are occupied by a running process
    Shells or applications (like Amarok) can interfere with autofs mounting when they are parked on a mount point.

Configure autofs under /etc/autofs:

  • ...