xref: /OK3568_Linux_fs/buildroot/fs/f2fs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_TARGET_ROOTFS_F2FS
2	bool "f2fs root filesystem"
3	select BR2_PACKAGE_HOST_F2FS_TOOLS
4	help
5	  Build a f2fs root filesystem. If you enable this option, you
6	  probably want to enable the f2fs-tools package too.
7
8if BR2_TARGET_ROOTFS_F2FS
9
10config BR2_TARGET_ROOTFS_F2FS_LABEL
11	string "filesystem label"
12
13config BR2_TARGET_ROOTFS_F2FS_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_F2FS_COLD_FILES
22	string "extension list for cold files"
23	help
24	  Specify a comma separated file extension list in order f2fs
25	  to treat them as cold files. The default list includes most
26	  of multimedia file extensions such as jpg, gif, mpeg, mkv,
27	  and so on.
28
29config BR2_TARGET_ROOTFS_F2FS_HOT_FILES
30	string "extension list for hot files"
31	help
32	  Specify a comma separated file extension list in order f2fs
33	  to treat them as hot files. The default list includes only
34	  a db extension.
35
36config BR2_TARGET_ROOTFS_F2FS_OVERPROVISION
37	int "overprovision ratio"
38	default 0
39	help
40	  The percentage over the volume size for overprovision
41	  area. This area is hidden to users, and utilized by F2FS
42	  cleaner.
43
44	  Leave at 0 for autocalculation according to the partition
45	  size.
46
47config BR2_TARGET_ROOTFS_F2FS_DISCARD
48	bool "discard policy"
49	default y
50	help
51	  Enable or disable discard policy.
52
53config BR2_TARGET_ROOTFS_F2FS_FEATURES
54	string "filesystem features"
55	help
56	  List of features that the F2FS filesystem should support
57	  (e.g "encrypt")
58
59endif # BR2_TARGET_ROOTFS_F2FS
60