Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 #  Quota configuration
0004 #
0005 
0006 config QUOTA
0007         bool "Quota support"
0008         select QUOTACTL
0009         select SRCU
0010         help
0011           If you say Y here, you will be able to set per user limits for disk
0012           usage (also called disk quotas). Currently, it works for the
0013           ext2, ext3, ext4, jfs, ocfs2 and reiserfs file systems.
0014           Note that gfs2 and xfs use their own quota system.
0015           Ext3, ext4 and reiserfs also support journaled quotas for which
0016           you don't need to run quotacheck(8) after an unclean shutdown.
0017           For further details, read the Quota mini-HOWTO, available from
0018           <https://www.tldp.org/docs.html#howto>, or the documentation provided
0019           with the quota tools. Probably the quota support is only useful for
0020           multi user systems. If unsure, say N.
0021 
0022 config QUOTA_NETLINK_INTERFACE
0023         bool "Report quota messages through netlink interface"
0024         depends on QUOTACTL && NET
0025         help
0026           If you say Y here, quota warnings (about exceeding softlimit, reaching
0027           hardlimit, etc.) will be reported through netlink interface. If unsure,
0028           say Y.
0029 
0030 config PRINT_QUOTA_WARNING
0031         bool "Print quota warnings to console (OBSOLETE)"
0032         depends on QUOTA
0033         default y
0034         help
0035           If you say Y here, quota warnings (about exceeding softlimit, reaching
0036           hardlimit, etc.) will be printed to the process' controlling terminal.
0037           Note that this behavior is currently deprecated and may go away in
0038           future. Please use notification via netlink socket instead.
0039 
0040 config QUOTA_DEBUG
0041         bool "Additional quota sanity checks"
0042         depends on QUOTA
0043         default n
0044         help
0045           If you say Y here, quota subsystem will perform some additional
0046           sanity checks of quota internal structures. If unsure, say N.
0047 
0048 # Generic support for tree structured quota files. Selected when needed.
0049 config QUOTA_TREE
0050          tristate
0051 
0052 config QFMT_V1
0053         tristate "Old quota format support"
0054         depends on QUOTA
0055         help
0056           This quota format was (is) used by kernels earlier than 2.4.22. If
0057           you have quota working and you don't want to convert to new quota
0058           format say Y here.
0059 
0060 config QFMT_V2
0061         tristate "Quota format vfsv0 and vfsv1 support"
0062         depends on QUOTA
0063         select QUOTA_TREE
0064         help
0065           This config option enables kernel support for vfsv0 and vfsv1 quota
0066           formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
0067           also supports 64-bit inode and block quota limits. If you need this
0068           functionality say Y here.
0069 
0070 config QUOTACTL
0071         bool
0072         default n