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