Determining a Solaris File System type
These commands work whether or not the file system is mounted.
If you have the raw device name of a disk slice, you can use the fstyp
or the df
command to determine 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 df -n
command to display a system's file system types.:
# df -n / : zfs /devices : devfs /dev : dev /system/contract : ctfs /proc : proc /etc/mnttab : mntfs /system/volatile : tmpfs /system/object : objfs /etc/dfs/sharetab : sharefs /dev/fd : fd /var : zfs /tmp : tmpfs /var/share : zfs /export : zfs /export/home : zfs /rpool : zfs /media/cdrom : ufs /media/sol_11_sparc : hsfs /blue : zfs /blue/schlumpf : zfs /blue/smurf : zfs