Config.in 1.6 KB

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