Prev | Current Page 1313 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


Any of the options that don??™t require a value can have no appended to it to have the opposite
effect. For example, nobg indicates that the mount should not be done in the background.
Using autofs to Mount NFS File Systems on Demand
Recent improvements to auto-detecting and mounting removable devices have meant that you can
simply insert or plug in those devices to have them detected, mounted, and displayed. However,
to make the process of detecting and mounting remote NFS file systems more automatic, you still
need to use a facility such as autofs (short for automatically mounted file systems).
The autofs facility will mount network file systems on demand when someone tries to use the file
systems. With the autofs facility configured and turned on, you can cause any NFS shared directories
to mount on demand. To use the autofs facility, you need to have the autofs package installed. (For
Fedora, you can type yum install autofs or for Debian type apt-get install autofs to
install the package from the network.)
With autofs enabled, if you know the hostname and directory being shared by another host computer,
simply change (cd) to the autofs mount directory (/net by default). This causes the shared
resource to be automatically mounted and made accessible to you.


Pages:
1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325