Managing File Systems in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Determining a File System's 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. For more information, see fstyp (1M) or df (1M) .

Example 1-1  How 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/cdrom-1      : ufs     
/media/cdrom-2      : ufs     
/media/cdrom-3      : ufs     
/media/sol_10_811_sparc : hsfs    
/media/cdrom-4      : ufs     
/pond               : zfs     
/pond/amy           : zfs     
/pond/dr            : zfs     
/pond/rory          : zfs