blob: c51df1dd237e74a0127da81f95d77f570d463b84 [file] [log] [blame]
Jan Kara884d1792009-01-26 15:28:09 +01001#
2# Quota configuration
3#
4
5config QUOTA
6 bool "Quota support"
Jan Kara80f44b12010-08-17 12:14:44 +02007 select QUOTACTL
Jan Kara884d1792009-01-26 15:28:09 +01008 help
9 If you say Y here, you will be able to set per user limits for disk
10 usage (also called disk quotas). Currently, it works for the
Fabian Frederickcbcf27a2014-03-04 08:11:07 +080011 ext2, ext3, ext4, jfs, ocfs2 and reiserfs file systems.
12 Note that gfs2 and xfs use their own quota system.
13 Ext3, ext4 and reiserfs also support journaled quotas for which
14 you don't need to run quotacheck(8) after an unclean shutdown.
Jan Kara884d1792009-01-26 15:28:09 +010015 For further details, read the Quota mini-HOWTO, available from
16 <http://www.tldp.org/docs.html#howto>, or the documentation provided
17 with the quota tools. Probably the quota support is only useful for
18 multi user systems. If unsure, say N.
19
20config QUOTA_NETLINK_INTERFACE
21 bool "Report quota messages through netlink interface"
Steven Whitehouse86e931a2009-09-28 12:35:17 +010022 depends on QUOTACTL && NET
Jan Kara884d1792009-01-26 15:28:09 +010023 help
24 If you say Y here, quota warnings (about exceeding softlimit, reaching
25 hardlimit, etc.) will be reported through netlink interface. If unsure,
26 say Y.
27
28config PRINT_QUOTA_WARNING
29 bool "Print quota warnings to console (OBSOLETE)"
30 depends on QUOTA
31 default y
32 help
33 If you say Y here, quota warnings (about exceeding softlimit, reaching
34 hardlimit, etc.) will be printed to the process' controlling terminal.
35 Note that this behavior is currently deprecated and may go away in
36 future. Please use notification via netlink socket instead.
37
Jan Kara62af9b52010-04-19 16:47:20 +020038config QUOTA_DEBUG
39 bool "Additional quota sanity checks"
40 depends on QUOTA
41 default n
42 help
43 If you say Y here, quota subsystem will perform some additional
44 sanity checks of quota internal structures. If unsure, say N.
45
Matt LaPlante620372a2009-02-10 14:50:34 +010046# Generic support for tree structured quota files. Selected when needed.
Jan Kara884d1792009-01-26 15:28:09 +010047config QUOTA_TREE
48 tristate
49
50config QFMT_V1
51 tristate "Old quota format support"
52 depends on QUOTA
53 help
54 This quota format was (is) used by kernels earlier than 2.4.22. If
55 you have quota working and you don't want to convert to new quota
56 format say Y here.
57
58config QFMT_V2
Jan Kara498c6012009-11-16 18:09:47 +010059 tristate "Quota format vfsv0 and vfsv1 support"
Jan Kara884d1792009-01-26 15:28:09 +010060 depends on QUOTA
61 select QUOTA_TREE
62 help
Jan Kara498c6012009-11-16 18:09:47 +010063 This config option enables kernel support for vfsv0 and vfsv1 quota
64 formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
65 also supports 64-bit inode and block quota limits. If you need this
66 functionality say Y here.
Jan Kara884d1792009-01-26 15:28:09 +010067
68config QUOTACTL
69 bool
Jan Kara80f44b12010-08-17 12:14:44 +020070 default n
Christoph Hellwig5582c762010-02-16 03:44:55 -050071
72config QUOTACTL_COMPAT
73 bool
74 depends on QUOTACTL && COMPAT_FOR_U64_ALIGNMENT
75 default y