Difference between revisions of "Automount"
m (→Configuration) |
|||
Line 4: | Line 4: | ||
''automount'' looks in ''/etc/auto.master'' for a map. Our setup apparently requires a non-default mapping: | ''automount'' looks in ''/etc/auto.master'' for a map. Our setup apparently requires a non-default mapping: | ||
/net /etc/auto.net | /net /etc/auto.net | ||
− | It is important to note that that '''is not''' the default ''/etc/auto.net'' either. | + | It is important to note that that '''is not''' the default ''/etc/auto.net'' either. |
− | + | The detailed contents of ''auto.master'' and ''auto.net'' can be found here: [[Autofs Configuration Files]]. Once the files are added/edited, their security context may get changed as well, and it may be necessary to run <code>restorecon -R -v /etc</code> before restarting ''autofs'', in order for ''autofs'' to work. | |
− | |||
− | |||
− |
Revision as of 14:45, 28 June 2007
According to its manual page, automount "manage[s] autofs mount points." It runs at startup and "sets up mount points for each entry in the master map, allowing them to be automatically mounted when accessed." autofs is the service program that does the mounting/unmounting when needed.
Configuration
automount looks in /etc/auto.master for a map. Our setup apparently requires a non-default mapping:
/net /etc/auto.net
It is important to note that that is not the default /etc/auto.net either.
The detailed contents of auto.master and auto.net can be found here: Autofs Configuration Files. Once the files are added/edited, their security context may get changed as well, and it may be necessary to run restorecon -R -v /etc
before restarting autofs, in order for autofs to work.