Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.aix Subject: Re: Quotas do they exist ? Message-ID: <4634@auspex.auspex.com> Date: 2 Dec 90 20:19:48 GMT References: <4337@awdprime.UUCP> Organization: Auspex Systems, Santa Clara Lines: 13 >While its true that EDQUOT can be an error from that call, you will >see that it is returned for one of two reasons: the first would be >for exceeding disk quota (which AIX v3.1 does not support); >the second is if i-nodes become exhausted for a particular filesystem. So fix it to return ENOSPC if inodes become exhausted, instead of EDQUOT, both for compatibility with the 4.3BSD file system code and the System V file system code (both of which return ENOSPC if you run out of inodes, which means that behavior probably dates back to time immemorial), and to prevent people from getting confused into thinking AIX 3.x supports quotas just because it incorrectly returns EDQUOT when you run out of inodes (rather than running out of your inode *quota* - the BSD file system returns EDQUOT when that happens).