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