How to Mount a File System at Boot Time
This procedure shows how to mount file systems at boot time instead of using the autofs maps. This procedure must be completed on every client that requires access to remote file systems.
Example 3-1 Entry in the Client's /etc/vfstab
File
Assume that you want a client system to mount the /var/mail
directory from the server wasp
. You want the file system to be mounted as /var/mail
on the client, and you want the client to have read-write access. You would add the following entry to the client's vfstab
file:
wasp:/var/mail - /var/mail nfs - yes rw