1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/e4defrag.md

16 lines
273 B
Markdown
Raw Normal View History

2020-08-30 18:59:50 -05:00
# e4defrag
> Defragment an ext4 file system.
- Defragment the file system:
`e4defrag {{/dev/sdXN}}`
- See how fragmented a file system is:
`e4defrag -c {{/dev/sdXN}}`
- Print errors and the fragmentation count before and after each file:
`e4defrag -v {{/dev/sdXN}}`