Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Devices and File Systems Oracle Solaris 10 8/11 Information Library |
1. Managing Removable Media (Overview)
2. Managing Removable Media (Tasks)
3. Accessing Removable Media (Tasks)
4. Writing CDs and DVDs (Tasks)
5. Managing Devices (Overview/Tasks)
6. Dynamically Configuring Devices (Tasks)
7. Using USB Devices (Overview)
9. Using InfiniBand Devices (Overview/Tasks)
11. Administering Disks (Tasks)
12. SPARC: Setting Up Disks (Tasks)
13. x86: Setting Up Disks (Tasks)
14. Configuring Oracle Solaris iSCSI Targets and Initiators (Tasks)
15. The format Utility (Reference)
16. Managing File Systems (Overview)
What's New in Oracle Solaris File Systems?
File System Monitoring Tool (fsstat)
Oracle Solaris ZFS File System
Enhancements to UFS File System Utilities (fsck, mkfs, and newfs)
Automatic Search for Backup Superblocks
fsck Reports When it Needs to be Rerun
New fsck Messages Regarding Extended Attributes
Better Handling of Duplicate Blocks or Fragments
Where to Find File System Management Tasks
Types of Oracle Solaris File Systems
Oracle Solaris Disk-Based File Systems
The Universal Disk Format (UDFS) File System
NFS Version 4 and CacheFS Compatibility Issues
Additional Virtual File Systems
Commands for UFS File System Administration
How File System Commands Determine the File System Type
Manual Pages for Generic and Specific File System Commands
Default Oracle Solaris File Systems
Support of Multiterabyte UFS File Systems
Features of Multiterabyte UFS File Systems
Limitations of Multiterabyte UFS File Systems
Where to Find Multiterabyte UFS Tasks
Overview of Mounting and Unmounting File Systems
17. Creating and Mounting File Systems (Tasks)
18. Using The CacheFS File System (Tasks)
19. Configuring Additional Swap Space (Tasks)
20. Checking UFS File System Consistency (Tasks)
21. UFS File System (Reference)
22. Backing Up and Restoring UFS File Systems (Overview)
23. Backing Up UFS Files and File Systems (Tasks)
24. Using UFS Snapshots (Tasks)
25. Restoring UFS Files and File Systems (Tasks)
26. UFS Backup and Restore Commands (Reference)
27. Copying Files and File Systems (Tasks)
You can determine a file system's type by using one of the following:
This procedure works whether or not the file system is mounted.
Determine a file system's type by using the grep command.
$ grep mount-point fs-table
Specifies the mount point name of the file system for which you want to know the file system type. For example, the /var directory.
Specifies the absolute path to the file system table in which to search for the file system's type. If the file system is mounted, fs-table should be /etc/mnttab. If the file system isn't mounted, fs-table should be /etc/vfstab.
Information for the mount point is displayed.
Note - 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 16-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 -