ed61d143d59f3e1e2c62ebc12fc1ad8900c5aa10
[platform/upstream/btrfs-progs.git] / Documentation / btrfs-convert.txt
1 btrfs-convert(8)
2 ================
3
4 NAME
5 ----
6 btrfs-convert - convert from ext2/3/4 filesystem to btrfs or rollback
7
8 SYNOPSIS
9 --------
10 *btrfs-convert* [options] <device>
11
12 DESCRIPTION
13 -----------
14 *btrfs-convert* is used to convert existed ext2/3/4 to btrfs filesystem,
15 and the original filesystem image is accessible as from separate subvolume
16 named 'ext2_subvol' as file image.
17
18 OPTIONS
19 -------
20 -d::
21 Disable data checksum.
22 -i::
23 Ignore xattrs and ACLs.
24 -n::
25 Disable packing of small files.
26 -r::
27 Roll back to ext2fs.
28
29 EXIT STATUS
30 -----------
31 *btrfs-convert* will return 0 if no error happened.
32 If any problems happened, 1 will be returned.
33
34 AUTHOR
35 ------
36 Written by Shilong Wang and Wenruo Qu.
37
38 COPYRIGHT
39 ---------
40 Copyright (C) 2013 FUJITSU LIMITED.
41
42 License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
43
44 This is free software: you are free  to  change  and  redistribute  it. There is NO WARRANTY, to the extent permitted by law.
45
46 SEE ALSO
47 --------
48 `mkfs.btrfs`(8)
49