mirror of https://github.com/CrimsonTome/tldr.git
17 lines
321 B
Markdown
17 lines
321 B
Markdown
# e4defrag
|
|
|
|
> Defragment an ext4 filesystem.
|
|
> More information: <https://manned.org/e4defrag>.
|
|
|
|
- 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}}`
|