1DEFRAG.F2FS(8)              System Manager's Manual             DEFRAG.F2FS(8)
2
3
4

NAME

6       defrag.f2fs - relocate blocks in a given area to the specified region
7

SYNOPSIS

9       defrag.f2fs  [  -s  start  block address ] [ -l number of blocks ] [ -t
10       target block address ] [ -i direction ] [ -d debugging-level ] device
11

DESCRIPTION

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.
15       device  is  the  special  file  corresponding  to  the   device   (e.g.
16       /dev/sdXX).
17
18       For example, # defrag.f2fs -s 0x4000 -l 0x100 -t 0x10000 -i /dev/sdb1
19
20       This  moves  blocks  between 0x4000 and 0x4100 to the left-hand area of
21       0x10000.
22
23
24       The exit code returned by defrag.f2fs is 0 on success and -1  on  fail‐
25       ure.
26

OPTIONS

28       -s start block address
29              Specify the starting block address.
30
31       -l number of blocks
32              Specifiy the number of blocks to move.
33
34       -t target block address
35              Specify the destination block address.
36
37       -i direction
38              Set  the  direction  to  left.  If  it is not set, the direction
39              becomes right by default.
40
41       -d debug-level
42              Specify the level of debugging options.  The default  number  is
43              0, which shows basic debugging messages.
44
45
46       AUTHOR
47              This  version  of  defrag.f2fs  has  been written by Jaegeuk Kim
48              <jaegeuk@kernel.org>.
49

AVAILABILITY

51       defrag.f2fs is available  from  git://git.kernel.org/pub/scm/linux/ker‐
52       nel/git/jaegeuk/f2fs-tools.git.
53

SEE ALSO

55       mkfs.f2fs(8),      dump.f2fs(8),      fsck.f2fs(8),     resize.f2fs(8),
56       sload.f2fs(8).
57
58
59
60                                                                DEFRAG.F2FS(8)
Impressum