OSDN Git Service

e2fsprogs: Update originals to e2fsprogs 1.42.1.
[linuxjm/jm.git] / manual / e2fsprogs / original / man8 / filefrag.8
1 .\" -*- nroff -*-
2 .TH FILEFRAG 8 "February 2012" "E2fsprogs version 1.42.1"
3 .SH NAME
4 filefrag \- report on file fragmentation
5 .SH SYNOPSIS
6 .B filefrag
7 [
8 .B \-Bbsvx
9 ]
10 [
11 .I files...
12 ]
13 .SH DESCRIPTION
14 .B filefrag
15 reports on how badly fragmented a particular file might be.  It makes 
16 allowances for indirect blocks for ext2 and ext3 filesystems, but can be
17 used on files for any filesystem.
18 .PP
19 The 
20 .B filefrag
21 program initially attempts to get the
22 extent information using FIEMAP ioctl which is more efficient and faster.
23 If FIEMAP is not supported then filefrag will fall back to using FIBMAP.
24 .SH OPTIONS
25 .TP
26 .B \-B
27 Force the use of the older FIBMAP ioctl instead of the FIEMAP ioctl for
28 testing purposes.
29 .TP
30 .B \-b
31 Use 1024 byte blocksize for the output.
32 .TP
33 .B \-s
34 Sync the file before requesting the mapping.
35 .TP
36 .B \-v
37 Be verbose when checking for file fragmentation.
38 .TP
39 .B \-x
40 Display mapping of extended attributes.
41 .SH AUTHOR
42 .B filefrag
43 was written by Theodore Ts'o <tytso@mit.edu>.