xref: /openbmc/linux/fs/quota/Kconfig (revision 5582c76f)
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
36# Generic support for tree structured quota files. Selected when needed.
37config QUOTA_TREE
38	 tristate
39
40config QFMT_V1
41	tristate "Old quota format support"
42	depends on QUOTA
43	help
44	  This quota format was (is) used by kernels earlier than 2.4.22. If
45	  you have quota working and you don't want to convert to new quota
46	  format say Y here.
47
48config QFMT_V2
49	tristate "Quota format vfsv0 and vfsv1 support"
50	depends on QUOTA
51	select QUOTA_TREE
52	help
53	  This config option enables kernel support for vfsv0 and vfsv1 quota
54	  formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
55	  also supports 64-bit inode and block quota limits. If you need this
56	  functionality say Y here.
57
58config QUOTACTL
59	bool
60	depends on XFS_QUOTA || QUOTA
61	default y
62
63config QUOTACTL_COMPAT
64	bool
65	depends on QUOTACTL && COMPAT_FOR_U64_ALIGNMENT
66	default y
67