mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:53:50 +02:00
filefrag: add page (#4487)
This commit is contained in:
parent
89ef5b77a6
commit
7012ecf00e
1 changed files with 28 additions and 0 deletions
28
pages/linux/filefrag.md
Normal file
28
pages/linux/filefrag.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# filefrag
|
||||||
|
|
||||||
|
> Report how badly fragmented a particular file might be.
|
||||||
|
> More information: <https://linux.die.net/man/8/filefrag>.
|
||||||
|
|
||||||
|
- Display a report for a specific file:
|
||||||
|
|
||||||
|
`filefrag {{path/to/file}}`
|
||||||
|
|
||||||
|
- Display a report for space-separated list of files:
|
||||||
|
|
||||||
|
`filefrag {{path/to/file1}} {{path/to/file2}}`
|
||||||
|
|
||||||
|
- Display a report using a 1024 byte blocksize:
|
||||||
|
|
||||||
|
`filefrag -b {{path/to/file}}`
|
||||||
|
|
||||||
|
- Sync the file before requesting the mapping:
|
||||||
|
|
||||||
|
`filefrag -s {{path/to/files}}`
|
||||||
|
|
||||||
|
- Display mapping of extended attributes:
|
||||||
|
|
||||||
|
`filefrag -x {{path/to/files}}`
|
||||||
|
|
||||||
|
- Display a report with verbose information:
|
||||||
|
|
||||||
|
`filefrag -v {{path/to/files}}`
|
Loading…
Add table
Reference in a new issue