Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Auto Mounting


Install autofs:

  $ wajig install autofs

This will create the relevant files in /var/autofs with default configuration file /etc/auto.master which references auto.misc and /etc/auto.net. You may want to create your own automount specification, so create a new file, perhaps /etc/auto.ktnet with something like:

  athens       -rw,hard,intr           athens:/ktnet/athens

Then edit /etc/auto.master to include just this file:

  /var/autofs/ktnet      /etc/auto.ktnet

Restart the autofs server:

  $ wajig restart autofs

Assuming NFS is set up appropriately, this will now automatically mount /var/autofs/ktnet/athens from the host Athens (101.5) whenever that folder is accessed.


Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire