tldr/pages/linux/dumpe2fs.md

26 lines
755 B
Markdown
Raw Permalink Normal View History

2020-10-24 13:36:28 +01:00
# dumpe2fs
> Print the super block and blocks group information for ext2/ext3/ext4 filesystems.
> Unmount the partition before running this command using `umount {{device}}`.
> More information: <https://manned.org/dumpe2fs>.
2020-10-24 13:36:28 +01:00
- Display ext2, ext3 and ext4 filesystem information:
`dumpe2fs {{/dev/sdXN}}`
- Display the blocks which are reserved as bad in the filesystem:
`dumpe2fs -b {{/dev/sdXN}}`
2020-10-27 06:31:57 +00:00
- Force display filesystem information even with non-recognisable feature flags:
2020-10-24 13:36:28 +01:00
`dumpe2fs -f {{/dev/sdXN}}`
- Only display the superblock information and not any of the block group descriptor detail information:
`dumpe2fs -h {{/dev/sdXN}}`
- Print the detailed group information block numbers in hexadecimal format:
`dumpe2fs -x {{/dev/sdXN}}`