Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Quota configuration
  4. #
  5. config QUOTA
  6. bool "Quota support"
  7. select QUOTACTL
  8. help
  9. If you say Y here, you will be able to set per user limits for disk
  10. usage (also called disk quotas). Currently, it works for the
  11. ext2, ext3, ext4, f2fs, jfs and ocfs2 file systems. Note that gfs2
  12. and xfs use their own quota system. Ext3 and ext4 also support
  13. journaled quotas for which you don't need to run quotacheck(8) after
  14. an unclean shutdown. For further details, read the Quota mini-HOWTO,
  15. available from <https://www.tldp.org/docs.html#howto>, or the
  16. documentation provided with the quota tools. Probably the quota
  17. support is only useful for multi user systems. If unsure, say N.
  18. config QUOTA_NETLINK_INTERFACE
  19. bool "Report quota messages through netlink interface"
  20. depends on QUOTACTL && NET
  21. help
  22. If you say Y here, quota warnings (about exceeding softlimit, reaching
  23. hardlimit, etc.) will be reported through netlink interface. If unsure,
  24. say Y.
  25. config PRINT_QUOTA_WARNING
  26. bool "Print quota warnings to console (OBSOLETE)"
  27. depends on QUOTA && BROKEN
  28. default y
  29. help
  30. If you say Y here, quota warnings (about exceeding softlimit, reaching
  31. hardlimit, etc.) will be printed to the process' controlling terminal.
  32. Note that this behavior is currently deprecated and may go away in
  33. future. Please use notification via netlink socket instead.
  34. config QUOTA_DEBUG
  35. bool "Additional quota sanity checks"
  36. depends on QUOTA
  37. default n
  38. help
  39. If you say Y here, quota subsystem will perform some additional
  40. sanity checks of quota internal structures. If unsure, say N.
  41. # Generic support for tree structured quota files. Selected when needed.
  42. config QUOTA_TREE
  43. tristate
  44. config QFMT_V1
  45. tristate "Old quota format support"
  46. depends on QUOTA
  47. help
  48. This quota format was (is) used by kernels earlier than 2.4.22. If
  49. you have quota working and you don't want to convert to new quota
  50. format say Y here.
  51. config QFMT_V2
  52. tristate "Quota format vfsv0 and vfsv1 support"
  53. depends on QUOTA
  54. select QUOTA_TREE
  55. help
  56. This config option enables kernel support for vfsv0 and vfsv1 quota
  57. formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
  58. also supports 64-bit inode and block quota limits. If you need this
  59. functionality say Y here.
  60. config QUOTACTL
  61. bool
  62. default n