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