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

20.4.6 Utilities Sharing and Unsharing Resources

To share resources use the share and shareall commands and unshare them with the unshare and unshareall commands. You can specify file system types (-F) a description of the resource (-d) and various options to control client access (-o, with ro/rw, or rw=client[:client2]). With the unshare(all) commands you can only specify a file system type, so you can unshare all nfs file types with the command:

# unshareall -F nfs

The shareall command shares all resources specified in the /etc/dfs/dfstab file, or a named file.

When invoked with no arguments the share command displays the resources currently shared, e.g.:

# share
- /cdrom ro=ace:tardis:gallifrey "nyssa cdrom"

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