DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using NFS on a server

Editing the dfstab file

Use the dfstab file to list all the resources that your server shares with its clients and to control which clients may mount a resource. If you want to modify dfstab to add or delete a resource or modify the way sharing is done, edit the file with your text editor. The next time the machine enters init state 3, the system reads the updated dfstab to determine which resources should be shared automatically.

Each line in the file consists of a share command -- the same command you enter at the command line to share a resource explicitly. When it is used to share a resource over NFS, it has the following syntax:

share [-F nfs] [-o specific-options] [-d description] pathname

See the share(NADM) manual page for details.

You can omit the -F option if the first line in /etc/dfs/fstypes is

   nfs    Network File System Utilities: Version x.x
or if NFS is the only Distributed File System (DFS) package installed. If NFS is the only DFS package installed, it becomes the default for the -F option.

If you enter the -d option, the description is stored in your sharetab file. However, clients will not see the description displayed when they use the dfshares command to list the resources shared on your system.


Next topic: Controlling access to shared resources
Previous topic: Automatically sharing NFS resources

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005