Other Solaris Commands Related to File Systems
Solaris provides some commands to obtain other file system-related details. The most useful commands are covered in this section.
devnm Command
Use the devnm (device name) command to find the logical device name of a file system by supplying the mount point as an argument. The syntax of the devnm command is as follows:
devnm <mount-point directory>
In the following example, the /usr file system is mounted on the device /dev/dsk/c0t6d0s0.
$ devnm /usr /dev/dsk/c0t6d0s0 /usr
fstyp Command
You can use the fstyp (file system type) command to find the type of a file system by supplying the logical block device name as an argument. The syntax of the fstyp command follows:
fstyp <logical block device ...
Get Special Edition Using® Solaris™ 9 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.