System Grab Bag

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

e2freefrag

Print the free space fragmentation information for ext2/ext3/ext4 filesystems. More information: https://manned.org/e2freefrag.
  • Check how many free blocks are present as contiguous and aligned free space:
    e2freefrag {{/dev/sdXN}}
  • Specify chunk size in kilobytes to print how many free chunks are available:
    e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}

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.