|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Devices and File Systems Oracle Solaris 10 1/13 Information Library|
You can determine a file system's type by using one of the following:
If you have the raw device name of a disk slice, you can use the fstyp command to determine a file system's type (if the disk slice contains a file system). For more information, see fstyp(1M).
Example 14-1 Determining a File System's Type
The following example uses the fstyp command to determine the file system type.
# fstyp /dev/rdsk/c0t0d0s0 zfs
The following example uses the /etc/vfstab file to determine the file system type for the /legacy file system.
$ grep /legacy /etc/vfstab /dev/dsk/c0t3d0s6 /dev/rdsk/c0t3d0s6 /legacy ufs 2 yes -