[Next] [Previous] [Up] [Top] [Contents]

20.3.1 NFS

20.3.1.2 Client

The client normally mounts all file systems listed in /etc/fstab during the boot process. Those of type nfs are mounted when the "mount -at nfs" command is issued in /etc/rc.single, e.g. an nfs entry in fstab might be:

tardis:/home /home nfs rw 0 0

You can also mount file systems from the command line, e.g.:

# mount -t nfs tardis:/home /home

This will issue an NFS request to the server, tardis, to mount the file system, /home, on the local directory, /home.

The client needs to be running the block IO daemon, biod, to buffer NFS requests (normally 4 are started).

Another way to mount file systems is to use the automounter. The automount daemon, automount, will automatically mount the desired file system whenever a file/directory in that file system is accessed. It intercepts any requests for access to the file system and then uses the information in a NIS map or local file to decide how and where to mount the file system. If no access is made after a few minutes the file system is unmounted again.


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]