xref: /openbmc/linux/fs/quota/Kconfig (revision 8e7a49e0)
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, 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
21config QUOTA_NETLINK_INTERFACE
22	bool "Report quota messages through netlink interface"
23	depends on QUOTACTL && NET
24	help
25	  If you say Y here, quota warnings (about exceeding softlimit, reaching
26	  hardlimit, etc.) will be reported through netlink interface. If unsure,
27	  say Y.
28
29config PRINT_QUOTA_WARNING
30	bool "Print quota warnings to console (OBSOLETE)"
31	depends on QUOTA
32	default y
33	help
34	  If you say Y here, quota warnings (about exceeding softlimit, reaching
35	  hardlimit, etc.) will be printed to the process' controlling terminal.
36	  Note that this behavior is currently deprecated and may go away in
37	  future. Please use notification via netlink socket instead.
38
39config QUOTA_DEBUG
40	bool "Additional quota sanity checks"
41	depends on QUOTA
42	default n
43	help
44	  If you say Y here, quota subsystem will perform some additional
45	  sanity checks of quota internal structures. If unsure, say N.
46
47# Generic support for tree structured quota files. Selected when needed.
48config QUOTA_TREE
49	 tristate
50
51config QFMT_V1
52	tristate "Old quota format support"
53	depends on QUOTA
54	help
55	  This quota format was (is) used by kernels earlier than 2.4.22. If
56	  you have quota working and you don't want to convert to new quota
57	  format say Y here.
58
59config QFMT_V2
60	tristate "Quota format vfsv0 and vfsv1 support"
61	depends on QUOTA
62	select QUOTA_TREE
63	help
64	  This config option enables kernel support for vfsv0 and vfsv1 quota
65	  formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
66	  also supports 64-bit inode and block quota limits. If you need this
67	  functionality say Y here.
68
69config QUOTACTL
70	bool
71	default n
72