fsminfo(1M) fsminfo(1M)
NAME
fsminfo - report information about mounted file systems
SYNOPSIS
fsminfo [-p] device ...
fsminfo [-p] [-ln]
DESCRIPTION
fsminfo prints information about mounted file systems. This command
differs from the mount(1M) command in that it queries the kernel
rather than relying on /etc/mnttab. Therefore, it is more reliable. It
can also be used to reconstruct /etc/mnttab if the latter becomes lost
or corrupted.
Other than stated below, the exit status is 0 unless there was an
error, in which case it will be 255.
OPTIONS
No option specified
If no options are given, then fsminfo expects one or more argu-
ments and will check if the given device is mounted or if the
given directory is mounted upon. A message is printed stating the
above and the exit status is the number of arguments mounted or
mounted upon.
-p Prints the output in a format that is easily parsed (the default
is a more human-readable format).
-n Prints the number of mounted file systems.
-l Lists all mounted file systems. The output is in the following
form:
Device Size Type FSType MountFlags MountPoint
Each column should be self-explanatory.
Size is in 512-byte blocks and is applicable only to disk based
file systems.
MountFlags specifies only the following (generic) mount flags:
ro, rw and nosuid.
Page 1 Reliant UNIX 5.44 Printed 11/98
fsminfo(1M) fsminfo(1M)
EXAMPLE
fsminfo -l
# Device Size Type FSType MountFlags MountPoint
/dev/ios0/sdisk000s0 25800 local ufs <rw> /
0 applic namefs <rw> [unknown]
/dev/ios0/sdisk022s3 568890 local vxfs <rw> /home/nerv
1017226 remote nfs <ro> /pen/svr4
512316 remote nfs <ro> /misc/mesh
0 applic namefs <rw> [unknown]
/dev/vd/vdisk1 7168 local ufs <rw> /vd1
/dev/ios0/sdisk074s8 2059776 local vxfs <rw> /puls/3
/dev/ios0/sdisk000s4 97500 local ufs <rw> /var
/dev/ios0/sdisk000s3 204900 local ufs <rw> /usr
/dev/ios0/sdisk000s2 168000 local ufs <rw> /opt
/dev/fd 0 applic fdfs <rw> /dev/fd
/proc 0 applic proc <rw> /proc
SEE ALSO
df(1), mount(1M), fstinfo(1M), sysfs(2), vfstab(4), mnttab(4).
Page 2 Reliant UNIX 5.44 Printed 11/98