Commands.page Logo

Check Mount Options for Root Filesystem Ubuntu

Understanding how your storage is configured is essential for system administration and troubleshooting. This article identifies the specific command used to view the mount options associated with the root file system in Ubuntu. You will learn how to execute this command and interpret the resulting output to verify settings like read-write permissions or security parameters.

To display the mount options for the root file system, use the findmnt command. This utility is designed to show information about mounted filesystems in a clean format. Run the following command in your terminal:

findmnt -no OPTIONS /

This specific flag combination tells the system to output only the options (-o OPTIONS), without a header (-n), for the target mount point (/). The result will be a comma-separated list of active options.

Alternatively, you can use the traditional mount command combined with grep. Execute:

mount | grep " on / "

This filters the full list of mounted filesystems to show only the line containing the root directory. The output will display the device, mount point, filesystem type, and the options list within parentheses. Common options you might see include rw for read-write access, relatime for access time updates, or errors=remount-ro for error handling. Verifying these ensures your system is operating with the intended security and performance configurations.