System Administration Guide: Devices and File Systems

How to Determine Which File Systems Are Mounted

You can determine which file systems are already mounted by using the mount command.


$ mount [ -v ]

The -v displays the list of mounted file systems in verbose mode.


Example 19–1 Determining Which File Systems Are Mounted

This example shows how to use the mount command to display information about the file systems that are currently mounted.


$ mount
/ on /dev/dsk/c0t0d0s0 read/write/setuid/intr/largefiles/xattr/onerror=...
/devices on /devices read/write/setuid/dev=46c0000 on Thu Sep  ...
/system/contract on ctfs read/write/setuid/devices/dev=43c0001 ... 
/usr on /dev/dsk/c0t0d0s6 read/write/setuid/intr/largefiles/xattr/...
/proc on /proc read/write/setuid/dev=4700000 on Thu Sep  2 ...
/etc/mnttab on mnttab read/write/setuid/dev=47c0000 on Thu Sep  2 ...
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4480001 ...
/system/object on objfs read/write/setuid/devices/dev=44c0001 ...
/dev/fd on fd read/write/setuid/dev=4800000 on Thu Sep  2 ...
/var/run on swap read/write/setuid/xattr/dev=1 on Thu Sep  2 ...
/tmp on swap read/write/setuid/xattr/dev=2 on Thu Sep  2 ...
/stuff on /dev/dsk/c0t0d0s5 read/write/setuid/intr/largefiles/xattr...
/export/home on /dev/dsk/c0t0d0s7 read/write/setuid/intr/largefiles/...
/home/rimmer on pluto:/export/home/rimmer remote/read/write/setuid/xattr/...
$

This example shows how to use the zfs mount command to display information about ZFS file systems that are currently mounted.


$ zfs mount
rpool/ROOT/zfs509BE            /
rpool/export                    /export
rpool/export/home               /export/home
rpool                           /rpool