2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2009-01-26 22:28:09 +08:00
|
|
|
#
|
|
|
|
# Quota configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
config QUOTA
|
|
|
|
bool "Quota support"
|
2010-08-17 18:14:44 +08:00
|
|
|
select QUOTACTL
|
2014-12-06 00:24:45 +08:00
|
|
|
select SRCU
|
2009-01-26 22:28:09 +08:00
|
|
|
help
|
|
|
|
If you say Y here, you will be able to set per user limits for disk
|
|
|
|
usage (also called disk quotas). Currently, it works for the
|
2014-03-04 08:11:07 +08:00
|
|
|
ext2, ext3, ext4, jfs, ocfs2 and reiserfs file systems.
|
|
|
|
Note that gfs2 and xfs use their own quota system.
|
|
|
|
Ext3, ext4 and reiserfs also support journaled quotas for which
|
|
|
|
you don't need to run quotacheck(8) after an unclean shutdown.
|
2009-01-26 22:28:09 +08:00
|
|
|
For further details, read the Quota mini-HOWTO, available from
|
2020-07-09 01:19:05 +08:00
|
|
|
<https://www.tldp.org/docs.html#howto>, or the documentation provided
|
2009-01-26 22:28:09 +08:00
|
|
|
with the quota tools. Probably the quota support is only useful for
|
|
|
|
multi user systems. If unsure, say N.
|
|
|
|
|
|
|
|
config QUOTA_NETLINK_INTERFACE
|
|
|
|
bool "Report quota messages through netlink interface"
|
2009-09-28 19:35:17 +08:00
|
|
|
depends on QUOTACTL && NET
|
2009-01-26 22:28:09 +08:00
|
|
|
help
|
|
|
|
If you say Y here, quota warnings (about exceeding softlimit, reaching
|
|
|
|
hardlimit, etc.) will be reported through netlink interface. If unsure,
|
|
|
|
say Y.
|
|
|
|
|
|
|
|
config PRINT_QUOTA_WARNING
|
|
|
|
bool "Print quota warnings to console (OBSOLETE)"
|
|
|
|
depends on QUOTA
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
If you say Y here, quota warnings (about exceeding softlimit, reaching
|
|
|
|
hardlimit, etc.) will be printed to the process' controlling terminal.
|
|
|
|
Note that this behavior is currently deprecated and may go away in
|
|
|
|
future. Please use notification via netlink socket instead.
|
|
|
|
|
2010-04-19 22:47:20 +08:00
|
|
|
config QUOTA_DEBUG
|
|
|
|
bool "Additional quota sanity checks"
|
|
|
|
depends on QUOTA
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If you say Y here, quota subsystem will perform some additional
|
|
|
|
sanity checks of quota internal structures. If unsure, say N.
|
|
|
|
|
2009-02-10 21:50:34 +08:00
|
|
|
# Generic support for tree structured quota files. Selected when needed.
|
2009-01-26 22:28:09 +08:00
|
|
|
config QUOTA_TREE
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config QFMT_V1
|
|
|
|
tristate "Old quota format support"
|
|
|
|
depends on QUOTA
|
|
|
|
help
|
|
|
|
This quota format was (is) used by kernels earlier than 2.4.22. If
|
|
|
|
you have quota working and you don't want to convert to new quota
|
|
|
|
format say Y here.
|
|
|
|
|
|
|
|
config QFMT_V2
|
2009-11-17 01:09:47 +08:00
|
|
|
tristate "Quota format vfsv0 and vfsv1 support"
|
2009-01-26 22:28:09 +08:00
|
|
|
depends on QUOTA
|
|
|
|
select QUOTA_TREE
|
|
|
|
help
|
2009-11-17 01:09:47 +08:00
|
|
|
This config option enables kernel support for vfsv0 and vfsv1 quota
|
|
|
|
formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
|
|
|
|
also supports 64-bit inode and block quota limits. If you need this
|
|
|
|
functionality say Y here.
|
2009-01-26 22:28:09 +08:00
|
|
|
|
|
|
|
config QUOTACTL
|
|
|
|
bool
|
2010-08-17 18:14:44 +08:00
|
|
|
default n
|