debugfs
An interactive ext2/ext3/ext4 filesystem debugger. More information: <https://manned.org/debugfs>.
Install
- All systems
-
curl cmd.cat/debugfs.sh
- Debian
-
apt-get install e2fsprogs
- Ubuntu
-
apt-get install e2fsprogs
- Alpine
-
apk add e2fsprogs
- Arch Linux
-
pacman -S e2fsprogs
- 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
- Dockerfile
- dockerfile.run/debugfs
- Docker
-
docker run cmd.cat/debugfs debugfs
powered by Commando
An interactive ext2/ext3/ext4 filesystem debugger. More information: <https://manned.org/debugfs>.
-
Open the filesystem in read only mode:
debugfs /dev/sdXN
-
Open the filesystem in read write mode:
debugfs -w /dev/sdXN
-
Read commands from a specified file, execute them and then exit:
debugfs -f path/to/cmd_file /dev/sdXN
-
View the filesystem stats in debugfs console:
stats
-
Close the filesystem:
close -a
-
List all available commands:
lr
© tl;dr; authors and contributors