While performing routine work, inevitably you’ll need to check which disks are currently mounted and which are not. To see a list of all mounted filesystems and their mount options, run mount(8)
without any options:
$ mount
/dev/wd0a on / type ffs (local)
/dev/wd0k on /home type ffs (local, nodev, nosuid)
/dev/wd0d on /tmp type ffs (local, nodev, nosuid)
/dev/wd0f on /usr type ffs (local, nodev)
/dev/wd0g on /usr/X11R6 type ffs (local, nodev)
/dev/wd0h on /usr/local type ffs (local, nodev)
/dev/wd0j on /usr/obj type ffs (local, nodev, nosuid)
/dev/wd0i on /usr/src type ffs (local, nodev, nosuid)
/dev/wd0e on /var type ffs (local, nodev, nosuid)
Both FFS and FFS2 partitions show up as type ffs
. The word local
means that the partition is on a physical drive attached to this machine. We covered the various mount options (nodev
, nosuid
, and so on) earlier in this chapter.
Note that mount
displays the device node mounted at each partition, not the DUID. If you want to see the DUID of a disk, check the disklabel.