Show ext filesystem superblock settings
Build a paste-ready command, then review its compatibility and effects before running it.
tune2fs -l <device> | head -25Complete required fields to copy the generated command.
read-onlyno known side effects Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-20
Requirementstune2fstune2fs must be installed and available on PATH.
Version supporttune2fs Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsFilesystem volume name: <none>Representative successful output; values vary with the selected target and system state.
Known errorstune2fs: command not foundtune2fs is missing or is not available on PATH.
Verifytune2fs -l {{device}} | head -25The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01tune2fsCommandRuns the tune2fs stage of this one-liner.
02-lOptionConfigures tune2fs with the -l option.
03<device>ParameterA value supplied in the Fill parameters section.
04|PipelinePasses the output on the left to the command on the right.
05headCommandRuns the head stage of this one-liner.
06-25OptionConfigures head with the -25 option.
Example input
tune2fs -l /dev/sda | head -25
Example output
Filesystem volume name: <none>
Filesystem UUID: 7e9d1bca-3f41-4a63-9f7e-223344556677
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit
Illustrative output — exact values vary by system and data.
Official sources