Kconfig 2.3 KB

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