System Grab Bag

View all TLDR pages from Linux (or from all pages)

debugfs

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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.