xref: /OK3568_Linux_fs/buildroot/fs/btrfs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_TARGET_ROOTFS_BTRFS
2	bool "btrfs root filesystem"
3	select BR2_PACKAGE_HOST_BTRFS_PROGS
4	help
5	  Build a btrfs root filesystem. If you enable this option, you
6	  probably want to enable the btrfs-progs package too.
7
8if BR2_TARGET_ROOTFS_BTRFS
9
10config BR2_TARGET_ROOTFS_BTRFS_LABEL
11	string "filesystem label"
12
13config BR2_TARGET_ROOTFS_BTRFS_SIZE
14	string "filesystem size"
15	default "100m"
16	help
17	  The size of the filesystem image in bytes.
18	  Suffix with k, m, g or t for power-of-two kilo-, mega-, giga-
19	  or terabytes.
20
21config BR2_TARGET_ROOTFS_BTRFS_SIZE_SECTOR
22	string "sector size"
23	default "4096"
24	help
25	  This value should be set to the page size in bytes. The
26	  default value of 4096 is the the most common page size for
27	  most systems.  If the sectorsize differs from the page size,
28	  the created filesystem may not be mountable by the kernel.
29	  Therefore it is recommended to leave this value at
30	  4096. Unless you know that your kernel uses a different page
31	  size.  Suffix with k for power-of-two kilobytes.
32
33config BR2_TARGET_ROOTFS_BTRFS_SIZE_NODE
34	string "btree node size"
35	default "16384"
36	help
37	  The tree block size in which btrfs stores metadata in bytes.
38	  This must be a multiple of the sectorsize, but not larger
39	  than 64KiB (65536).
40	  Suffix with k for power-of-two kilobytes.
41
42config BR2_TARGET_ROOTFS_BTRFS_FEATURES
43	string "Filesystem Features"
44	help
45	  A comma separated string of features that can be enabled
46	  during creation time.
47	  For a list of available options, use:
48	    `.../host/bin/mkfs.btrfs -O list-all`
49
50endif # BR2_TARGET_ROOTFS_BTRFS
51