1DEFRAG.F2FS(8) System Manager's Manual DEFRAG.F2FS(8)
2
3
4
6 defrag.f2fs - relocate blocks in a given area to the specified region
7
9 defrag.f2fs [ -s start block address ] [ -l number of blocks ] [ -t
10 target block address ] [ -i direction ] [ -d debugging-level ] device
11
13 defrag.f2fs is used to move specified number of blocks starting from a
14 given block address to the target block address with a direction. de‐
15 vice is the special file corresponding to the device (e.g. /dev/sdXX).
16
17 For example, # defrag.f2fs -s 0x4000 -l 0x100 -t 0x10000 -i /dev/sdb1
18
19 This moves blocks between 0x4000 and 0x4100 to the left-hand area of
20 0x10000.
21
22
23 The exit code returned by defrag.f2fs is 0 on success and -1 on fail‐
24 ure.
25
27 -s start block address
28 Specify the starting block address.
29
30 -l number of blocks
31 Specify the number of blocks to move.
32
33 -t target block address
34 Specify the destination block address.
35
36 -i direction
37 Set the direction to left. If it is not set, the direction be‐
38 comes right by default.
39
40 -d debug-level
41 Specify the level of debugging options. The default number is
42 0, which shows basic debugging messages.
43
44
45 AUTHOR
46 This version of defrag.f2fs has been written by Jaegeuk Kim
47 <jaegeuk@kernel.org>.
48
50 defrag.f2fs is available from git://git.kernel.org/pub/scm/linux/ker‐
51 nel/git/jaegeuk/f2fs-tools.git.
52
54 mkfs.f2fs(8), dump.f2fs(8), fsck.f2fs(8), resize.f2fs(8),
55 sload.f2fs(8).
56
57
58
59 DEFRAG.F2FS(8)