Config.in.aufs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. bool "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. select ADK_KERNEL_EXPORTFS
  42. help
  43. If you want to export your mounted aufs via NFS, then enable this
  44. option. There are several requirements for this configuration.
  45. See detail in aufs.5.
  46. config ADK_KERNEL_AUFS_SHWH
  47. bool "Show whiteouts"
  48. help
  49. If you want to make the whiteouts in aufs visible, then enable
  50. this option and specify 'shwh' mount option. Although it may
  51. sounds like philosophy or something, but in technically it
  52. simply shows the name of whiteout with keeping its behaviour.
  53. config ADK_KERNEL_AUFS_BR_RAMFS
  54. bool "Ramfs (initramfs/rootfs) as an aufs branch"
  55. help
  56. If you want to use ramfs as an aufs branch fs, then enable this
  57. Generally tmpfs is recommended.
  58. hibited them to be a branch fs by default, because
  59. s becomes unusable after switch_root or something
  60. y. If you sets initramfs as an aufs branch and boot your
  61. y switch_root, you will meet a problem easily since the
  62. initramfs may be inaccessible.
  63. ou are going to use ramfs as an aufs branch fs without
  64. oot or something, leave it N.
  65. config ADK_KERNEL_AUFS_BR_FUSE
  66. bool "Fuse fs as an aufs branch"
  67. select ADK_KERNEL_AUFS_POLL
  68. select ADK_KERNEL_FUSE_FS
  69. help
  70. If you want to use fuse-based userspace filesystem as an aufs
  71. branch fs, then enable this option.
  72. It implements the internal poll(2) operation which is
  73. implemented by fuse only (curretnly).
  74. #config ADK_KERNEL_AUFS_DEBUG
  75. # bool "Debug aufs"
  76. # help
  77. # Enable this to compile aufs internal debug code.
  78. # It will have a negative impact to the performance.
  79. endif
  80. endmenu