The following steps explain how to turn on the autofs facility:
1. As root user from a Terminal window, open the /etc/auto.master file and look for the
following line:
/net -hosts
This causes the /net directory to act as the mount point for the NFS shared directories
you want to access on the network. (If there is a comment character at the beginning of
that line, remove it.)
2. Start the autofs service by typing the following as root user:
# /etc/init.d/autofs start
3. On a Fedora system, set up the autofs service to restart every time you boot your system:
# chkconfig autofs on
NOTE
725
Running a File Server 27
Believe it or not, that??™s all you have to do. If you have a network connection to the NFS servers
from which you want to share directories, try to access a shared NFS directory. For example, if you
know that the /usr/local/share directory is being shared from the computer on your network
named shuttle, you can do the following:
$ cd /net/shuttle
If that computer has any shared directories that are available to you, you can successfully change to
that directory.
You also can type the following:
$ ls
usr
You should be able to see that the usr directory is part of the path to a shared directory. If there
were shared directories from other top-level directories (such as /var or /tmp), you would see
those as well.
Pages:
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326