1FILEFRAG(8)                 System Manager's Manual                FILEFRAG(8)
2
3
4

NAME

6       filefrag - report on file fragmentation
7

SYNOPSIS

9       filefrag [ -bblocksize ] [ -BeksvxX ] [ files...  ]
10

DESCRIPTION

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

OPTIONS

21       -B     Force  the  use  of the older FIBMAP ioctl instead of the FIEMAP
22              ioctl for testing purposes.
23
24       -bblocksize
25              Use blocksize in bytes for  output  instead  of  the  filesystem
26              blocksize.  For compatibility with earlier versions of filefrag,
27              if blocksize is unspecified it defaults to 1024 bytes.
28
29       -e     Print output in extent format, even for block-mapped files.
30
31       -k     Use 1024-byte blocksize for output (identical to '-b 1024').
32
33       -s     Sync the file before requesting the mapping.
34
35       -v     Be verbose when checking for file fragmentation.
36
37       -x     Display mapping of extended attributes.
38
39       -X     Display extent block numbers in hexadecimal format.
40

AUTHOR

42       filefrag was written by Theodore Ts'o <tytso@mit.edu>.
43
44
45
46E2fsprogs version 1.44.6          March 2019                       FILEFRAG(8)
Impressum