Config.in.aufs 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "Overlay filesystems"
  4. config ADK_KERNEL_AUFS_FS
  5. bool "Aufs (Advanced multi layered unification filesystem) support"
  6. help
  7. Aufs is a stackable unification filesystem such as Unionfs,
  8. which unifies several directories and provides a merged single
  9. directory.
  10. In the early days, aufs was entirely re-designed and
  11. re-implemented Unionfs Version 1.x series. Introducing many
  12. original ideas, approaches and improvements, it becomes totally
  13. different from Unionfs while keeping the basic features.
  14. if ADK_KERNEL_AUFS_FS
  15. choice
  16. boolean "Maximum number of branches"
  17. default ADK_KERNEL_AUFS_BRANCH_MAX_127
  18. help
  19. Specifies the maximum number of branches (or member directories)
  20. in a single aufs. The larger value consumes more system
  21. resources and has a minor impact to performance.
  22. config ADK_KERNEL_AUFS_BRANCH_MAX_127
  23. bool "127"
  24. config ADK_KERNEL_AUFS_BRANCH_MAX_511
  25. bool "511"
  26. config ADK_KERNEL_AUFS_BRANCH_MAX_1023
  27. bool "1023"
  28. config ADK_KERNEL_AUFS_BRANCH_MAX_32767
  29. bool "32767"
  30. endchoice
  31. config ADK_KERNEL_AUFS_HINOTIFY
  32. bool "Use inotify to detect actions on a branch"
  33. help
  34. If you want to modify files on branches directly, eg. bypassing aufs,
  35. and want aufs to detect the changes of them fully, then enable this
  36. option and use 'udba=inotify' mount option.
  37. It will have a negative impact to the performance.
  38. See detail in aufs.5.
  39. config ADK_KERNEL_AUFS_EXPORT
  40. bool "NFS-exportable aufs"
  41. help
  42. If you want to export your mounted aufs via NFS, then enable this
  43. option. There are several requirements for this configuration.
  44. See detail in aufs.5.
  45. config ADK_KERNEL_AUFS_SHWH
  46. bool "Show whiteouts"
  47. help
  48. If you want to make the whiteouts in aufs visible, then enable
  49. this option and specify 'shwh' mount option. Although it may
  50. sounds like philosophy or something, but in technically it
  51. simply shows the name of whiteout with keeping its behaviour.
  52. config ADK_KERNEL_AUFS_BR_RAMFS
  53. bool "Ramfs (initramfs/rootfs) as an aufs branch"
  54. help
  55. If you want to use ramfs as an aufs branch fs, then enable this
  56. Generally tmpfs is recommended.
  57. hibited them to be a branch fs by default, because
  58. s becomes unusable after switch_root or something
  59. y. If you sets initramfs as an aufs branch and boot your
  60. y switch_root, you will meet a problem easily since the
  61. initramfs may be inaccessible.
  62. ou are going to use ramfs as an aufs branch fs without
  63. oot or something, leave it N.
  64. config ADK_KERNEL_AUFS_BR_FUSE
  65. bool "Fuse fs as an aufs branch"
  66. select ADK_KERNEL_AUFS_POLL
  67. select ADK_KERNEL_FUSE_FS
  68. help
  69. If you want to use fuse-based userspace filesystem as an aufs
  70. branch fs, then enable this option.
  71. It implements the internal poll(2) operation which is
  72. implemented by fuse only (curretnly).
  73. config ADK_KERNEL_AUFS_DEBUG
  74. bool "Debug aufs"
  75. help
  76. Enable this to compile aufs internal debug code.
  77. It will have a negative impact to the performance.
  78. endif
  79. endmenu