Xref: utzoo comp.unix.questions:14870 comp.unix.wizards:17250 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!nuchat!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: chown (was: at files and permissions) Message-ID: <4958@ficc.uu.net> Date: 12 Jul 89 09:52:03 GMT References: <1894@cbnewsh.ATT.COM> <669@lzaz.ATT.COM> <8072@bsu-cs.bsu.edu> <34515@bu-cs.BU.EDU> Organization: Xenix Support, FICC Lines: 34 In article <34515@bu-cs.BU.EDU>, bzs@bu-cs.BU.EDU (Barry Shein) writes: > >And big systems need better mechanisms than quotas. > Being as a quota system isn't a whole lot more than managing a few > integers I'd be curious to hear what would be needed to improve the > current system (sincerely, not a snide remark!) Well, the basic problem with quotas is the same as with such things as hard CPU time limits. The set of problems for which they're an adequate solution is smaller than the set of problems they're used for. How do you allocate quotas? sum(all quotas) == free space on disk? Then you might as well give each user a seperate partition. sum(all quotas) < free space? Then you can still run out of disk space. In either case someone who needs more space temporarily is out of luck... even if there's more space on the disk. How do quotas mesh with multiple partitions? When I was at Berkeley the usual way to get around quotas was to mail files to yourself, or to create subdirectories in /tmp. I would recommend checking quotas on logout only. That can be done in an automatic fashion, without actually putting policy in the kernel. If the user is over quota give them a chance to delete files (or whatever) by starting up a new shell. Don't try to make the quota system unbreakable. If someone wants to be a bad boy, you'll catch them. Don't burn honest users... you're not a cop. -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: peter@ficc.uu.net, +1 713 274 5180. | Th-th-th-that's all folks... Personal: peter@sugar.hackercorp.com. `-_-' | -- Mel Blanc Quote: Have you hugged your wolf today? 'U` | May 30 1908 - Jul 10 1989