1FILEFRAG(8) System Manager's Manual FILEFRAG(8)
2
3
4
6 filefrag - report on file fragmentation
7
9 filefrag [ -Bbsvx ] [ files... ]
10
12 filefrag reports on how badly fragmented a particular file might be.
13 It makes allowances for indirect blocks for ext2 and ext3 filesystems,
14 but can be used on files for any filesystem.
15
16 The filefrag program initially attempts to get the extent information
17 using FIEMAP ioctl which is more efficient and faster. If FIEMAP is
18 not supported then filefrag will fall back to using FIBMAP.
19
21 -B Force the use of the older FIBMAP ioctl instead of the FIEMAP
22 ioctl for testing purposes.
23
24 -b Use 1024 byte blocksize for the output.
25
26 -s Sync the file before requesting the mapping.
27
28 -v Be verbose when checking for file fragmentation.
29
30 -x Display mapping of extended attributes.
31
33 filefrag was written by Theodore Ts'o <tytso@mit.edu>.
34
35
36
37E2fsprogs version 1.41.12 May 2010 FILEFRAG(8)