Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. config OVERLAY_FS
  2. tristate "Overlay filesystem support"
  3. select EXPORTFS
  4. help
  5. An overlay filesystem combines two filesystems - an 'upper' filesystem
  6. and a 'lower' filesystem. When a name exists in both filesystems, the
  7. object in the 'upper' filesystem is visible while the object in the
  8. 'lower' filesystem is either hidden or, in the case of directories,
  9. merged with the 'upper' object.
  10. For more information see Documentation/filesystems/overlayfs.txt
  11. config OVERLAY_FS_REDIRECT_DIR
  12. bool "Overlayfs: turn on redirect dir feature by default"
  13. depends on OVERLAY_FS
  14. help
  15. If this config option is enabled then overlay filesystems will use
  16. redirects when renaming directories by default. In this case it is
  17. still possible to turn off redirects globally with the
  18. "redirect_dir=off" module option or on a filesystem instance basis
  19. with the "redirect_dir=off" mount option.
  20. Note, that redirects are not backward compatible. That is, mounting
  21. an overlay which has redirects on a kernel that doesn't support this
  22. feature will have unexpected results.
  23. config OVERLAY_FS_INDEX
  24. bool "Overlayfs: turn on inodes index feature by default"
  25. depends on OVERLAY_FS
  26. help
  27. If this config option is enabled then overlay filesystems will use
  28. the inodes index dir to map lower inodes to upper inodes by default.
  29. In this case it is still possible to turn off index globally with the
  30. "index=off" module option or on a filesystem instance basis with the
  31. "index=off" mount option.
  32. The inodes index feature prevents breaking of lower hardlinks on copy
  33. up.
  34. Note, that the inodes index feature is read-only backward compatible.
  35. That is, mounting an overlay which has an index dir on a kernel that
  36. doesn't support this feature read-only, will not have any negative
  37. outcomes. However, mounting the same overlay with an old kernel
  38. read-write and then mounting it again with a new kernel, will have
  39. unexpected results.