Handle hostnames with upper-case letters
[webmin.git] / quota / notes
1 Solaris
2 -------
3 The quota or rq options in /etc/vfstab are only used by quotaon -a at boot
4 time, to determine whether to turn on quotas for the filesystem.
5 When quotas are activated, the quota option is added to /etc/mnttab. Actually
6 mounting with this option is pointless - only the quotaon command can really
7 turn on quotas.
8
9 When quotas are newly enabled for a filesystem and a user assigned block
10 limits (but not file), these limits seem to take effect immediately. 
11 When the file limits are turned on, they also take effect immediately
12 (but the number of existing files does not seem to be computed).
13
14 On the other hand, blocks used are always recorded even if the quotas
15 are set to 'unlimited'.
16
17 Linux
18 -----
19 The usrquota and grpquota options in /etc/fstab are used by quotaon
20 whenever it is run. Unlike solaris, the filesystem must exist in the fstab
21 file (and have quota options) for quotaon to do anything. Also, quotaon does
22 not update the mtab file when quotas are turned on (but does complain if 
23 quotas are activated twice). Similarly, quotaoff does nothing unless the
24 quota options are given in /etc/fstab
25 The quota option documented in the man pages seems to be totally ignored - 
26 only usrquota and grpquota are used by quotaon.
27
28 Quotas seem to have some problems under redhat linux using kernel 2.0.21
29 (redhat 5.1). quotacheck and repquota will often hang when both user and
30 group quotas are active at the same time. Each can be used separately
31 with no problems though (as long as a quotacheck is done after creating
32 the quotas file!)
33
34 When quotas are enable for some filesystem, they take effect immediately for
35 both files and blocks. Even if a user creates files and then has quotas
36 set, the counts will be up to date.
37