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