mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
16 lines
270 B
Markdown
16 lines
270 B
Markdown
# e4defrag
|
|
|
|
> Defragment an ext4 filesystem.
|
|
|
|
- Defragment the filesystem:
|
|
|
|
`e4defrag {{/dev/sdXN}}`
|
|
|
|
- See how fragmented a filesystem is:
|
|
|
|
`e4defrag -c {{/dev/sdXN}}`
|
|
|
|
- Print errors and the fragmentation count before and after each file:
|
|
|
|
`e4defrag -v {{/dev/sdXN}}`
|