18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Quota configuration 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciconfig QUOTA 78c2ecf20Sopenharmony_ci bool "Quota support" 88c2ecf20Sopenharmony_ci select QUOTACTL 98c2ecf20Sopenharmony_ci select SRCU 108c2ecf20Sopenharmony_ci help 118c2ecf20Sopenharmony_ci If you say Y here, you will be able to set per user limits for disk 128c2ecf20Sopenharmony_ci usage (also called disk quotas). Currently, it works for the 138c2ecf20Sopenharmony_ci ext2, ext3, ext4, jfs, ocfs2 and reiserfs file systems. 148c2ecf20Sopenharmony_ci Note that gfs2 and xfs use their own quota system. 158c2ecf20Sopenharmony_ci Ext3, ext4 and reiserfs also support journaled quotas for which 168c2ecf20Sopenharmony_ci you don't need to run quotacheck(8) after an unclean shutdown. 178c2ecf20Sopenharmony_ci For further details, read the Quota mini-HOWTO, available from 188c2ecf20Sopenharmony_ci <https://www.tldp.org/docs.html#howto>, or the documentation provided 198c2ecf20Sopenharmony_ci with the quota tools. Probably the quota support is only useful for 208c2ecf20Sopenharmony_ci multi user systems. If unsure, say N. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciconfig QUOTA_NETLINK_INTERFACE 238c2ecf20Sopenharmony_ci bool "Report quota messages through netlink interface" 248c2ecf20Sopenharmony_ci depends on QUOTACTL && NET 258c2ecf20Sopenharmony_ci help 268c2ecf20Sopenharmony_ci If you say Y here, quota warnings (about exceeding softlimit, reaching 278c2ecf20Sopenharmony_ci hardlimit, etc.) will be reported through netlink interface. If unsure, 288c2ecf20Sopenharmony_ci say Y. 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciconfig PRINT_QUOTA_WARNING 318c2ecf20Sopenharmony_ci bool "Print quota warnings to console (OBSOLETE)" 328c2ecf20Sopenharmony_ci depends on QUOTA 338c2ecf20Sopenharmony_ci default y 348c2ecf20Sopenharmony_ci help 358c2ecf20Sopenharmony_ci If you say Y here, quota warnings (about exceeding softlimit, reaching 368c2ecf20Sopenharmony_ci hardlimit, etc.) will be printed to the process' controlling terminal. 378c2ecf20Sopenharmony_ci Note that this behavior is currently deprecated and may go away in 388c2ecf20Sopenharmony_ci future. Please use notification via netlink socket instead. 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciconfig QUOTA_DEBUG 418c2ecf20Sopenharmony_ci bool "Additional quota sanity checks" 428c2ecf20Sopenharmony_ci depends on QUOTA 438c2ecf20Sopenharmony_ci default n 448c2ecf20Sopenharmony_ci help 458c2ecf20Sopenharmony_ci If you say Y here, quota subsystem will perform some additional 468c2ecf20Sopenharmony_ci sanity checks of quota internal structures. If unsure, say N. 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci# Generic support for tree structured quota files. Selected when needed. 498c2ecf20Sopenharmony_ciconfig QUOTA_TREE 508c2ecf20Sopenharmony_ci tristate 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciconfig QFMT_V1 538c2ecf20Sopenharmony_ci tristate "Old quota format support" 548c2ecf20Sopenharmony_ci depends on QUOTA 558c2ecf20Sopenharmony_ci help 568c2ecf20Sopenharmony_ci This quota format was (is) used by kernels earlier than 2.4.22. If 578c2ecf20Sopenharmony_ci you have quota working and you don't want to convert to new quota 588c2ecf20Sopenharmony_ci format say Y here. 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ciconfig QFMT_V2 618c2ecf20Sopenharmony_ci tristate "Quota format vfsv0 and vfsv1 support" 628c2ecf20Sopenharmony_ci depends on QUOTA 638c2ecf20Sopenharmony_ci select QUOTA_TREE 648c2ecf20Sopenharmony_ci help 658c2ecf20Sopenharmony_ci This config option enables kernel support for vfsv0 and vfsv1 quota 668c2ecf20Sopenharmony_ci formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format 678c2ecf20Sopenharmony_ci also supports 64-bit inode and block quota limits. If you need this 688c2ecf20Sopenharmony_ci functionality say Y here. 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ciconfig QUOTACTL 718c2ecf20Sopenharmony_ci bool 728c2ecf20Sopenharmony_ci default n 73