xref: /openbmc/linux/fs/quota/Kconfig (revision 5d4a2e29)
1#
2#  Quota configuration
3#
4
5config QUOTA
6	bool "Quota support"
7	help
8	  If you say Y here, you will be able to set per user limits for disk
9	  usage (also called disk quotas). Currently, it works for the
10	  ext2, ext3, and reiserfs file system. ext3 also supports journalled
11	  quotas for which you don't need to run quotacheck(8) after an unclean
12	  shutdown.
13	  For further details, read the Quota mini-HOWTO, available from
14	  <http://www.tldp.org/docs.html#howto>, or the documentation provided
15	  with the quota tools. Probably the quota support is only useful for
16	  multi user systems. If unsure, say N.
17
18config 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
26config PRINT_QUOTA_WARNING
27	bool "Print quota warnings to console (OBSOLETE)"
28	depends on QUOTA
29	default y
30	help
31	  If you say Y here, quota warnings (about exceeding softlimit, reaching
32	  hardlimit, etc.) will be printed to the process' controlling terminal.
33	  Note that this behavior is currently deprecated and may go away in
34	  future. Please use notification via netlink socket instead.
35
36config 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
44# Generic support for tree structured quota files. Selected when needed.
45config QUOTA_TREE
46	 tristate
47
48config QFMT_V1
49	tristate "Old quota format support"
50	depends on QUOTA
51	help
52	  This quota format was (is) used by kernels earlier than 2.4.22. If
53	  you have quota working and you don't want to convert to new quota
54	  format say Y here.
55
56config QFMT_V2
57	tristate "Quota format vfsv0 and vfsv1 support"
58	depends on QUOTA
59	select QUOTA_TREE
60	help
61	  This config option enables kernel support for vfsv0 and vfsv1 quota
62	  formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
63	  also supports 64-bit inode and block quota limits. If you need this
64	  functionality say Y here.
65
66config QUOTACTL
67	bool
68	depends on XFS_QUOTA || QUOTA
69	default y
70
71config QUOTACTL_COMPAT
72	bool
73	depends on QUOTACTL && COMPAT_FOR_U64_ALIGNMENT
74	default y
75