e2fsprogs icon indicating copy to clipboard operation
e2fsprogs copied to clipboard

Difference in output of 'dumpe2fs -h' versus 'tune2fs -l'

Open drws opened this issue 4 years ago • 0 comments

Below is a copy of descriptions of the two discussed operations from their manpages:

tune2fs -l:

List the contents of the file system superblock, including the current values of the parameters that can be set via this program.

dumpe2fs -h:

only display the superblock information and not any of the block group descriptor detail information.

The output of these two commands is equal, except that dumpe2fs -h prints additional 9 journal-related lines of information at the end, at least that is the case with ext4. I believe this information might also be useful in tune2fs -l, especially the first 3 lines:

Journal features  
Total journal size
Total journal blocks

drws avatar Jan 05 '22 15:01 drws