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>.

Install

All systems
curl cmd.cat/dumpe2fs.sh
Debian Debian
apt-get install e2fsprogs
Ubuntu
apt-get install e2fsprogs
Alpine
apk add e2fsprogs
Arch Arch Linux
pacman -S e2fsprogs
image/svg+xml Kali Linux
apt-get install e2fsprogs
CentOS
yum install e2fsprogs
Fedora
dnf install e2fsprogs
Windows (WSL2)
sudo apt-get update sudo apt-get install e2fsprogs
OS X
brew install e2fsprogs
Raspbian
apt-get install e2fsprogs
Docker
docker run cmd.cat/dumpe2fs dumpe2fs powered by Commando

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>.

  • 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
  • Force display filesystem information even with unrecognizable feature flags:
    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

© tl;dr; authors and contributors