unshareall Command

The unshareall command makes all currently shared resources unavailable. The -F FSType option selects a list of file system types that are defined in /etc/dfs/fstypes. This flag enables you to choose only certain types of file systems to be unshared. The default file system type is defined in /etc/dfs/fstypes. To choose specific file systems, use the unshare command.

The following example unshares all NFS-type file systems:

# unshareall -F nfs