Information Technology Reference
In-Depth Information
specified, only local file systems are mounted. If the
-r
command-line argu-
ment is specified, only remote shared file systems or directories are mounted.
The
umountall
command is used to unmount all currently mounted resources.
It also supports the
-F
,
-l
, and
-r
command-line arguments supported by the
mountall
command. In addition, it supports the
-h
host
command-line argu-
ment to specify that only the resources mounted from that host should be
unmounted. The
-k
command-line argument can be used to kill processes
using the
fuser(1M)
command to allow unmounting and the -
s
command-line
argument that prevents unmount operations from being performed in parallel.
Currently mounted file resources are listed in the
/etc/mnttab
file.
The dfmounts Command
The
dfmounts(1M)
command is used to list currently mounted resources (and
its clients) on either the local or a remote system. If the hostname (or IP
address) of a remote system is specified as a command-line argument, the
resources mounted on that system (and its clients) are listed.
In addition, two other command-line arguments are supported. The
-F nfs
command-line argument is used to specify the type of file system. If not spec-
ified, the default file system type listed in the
/etc/dfs/fstypes
file (NFS) is
assumed. If the
-h
command-line argument is specified, the header describ-
ing the columns of the listing is not displayed. The following listing shows
using the
dfmounts
command to list the NFS resources on the local system
named Solaris:
# dfmounts
RESOURCE SERVER PATHNAME CLIENTS
- solaris /export/home uxsys2.ambro.org
WebNFS
WebNFS
extends the NFS protocol to allow Web browsers or Java applets to
access NFS shared resources. This allows client systems to access NFS
resources without requiring them to be NFS clients. Browsers can access
NFS resources by using an NFS URL that takes the form
nfs://
server
/
path
. The WebNFS server and client specifications are
defined by RFCs 2054 and 2055.
The
share
command supports two NFS-specific options that pertain to
WebNFS access:
The
public
option
➤
The
index
option
➤