patch to du to restrict to one file-system

Mark Levine yba at arrow.bellcore.com
Mon Sep 26 03:26:22 AEST 1988


In article <5550 at zodiac.UUCP> jordan at ads.com (Jordan Hayes) writes:
>Mark Levine <yba at sabre.BellCore.COM> writes:
>
>	If this is a recurring problem with your system (how to find
>	out who is using the disk space), you may find it worthwhile to
>	just use the quota mechanism....
>
>Gee whiz, doesn't anybody read manuals anymore?
>
>What about quot(8)??? -- you don't need those slow quota hacks in yer
>kernel just to find out who owns the files, and you don't need feeping
>creaturism on du ...
>

Agree with the second.  On the first we differ in that quot can take a long
time, as opposed to "quota user" which just reads a precomputed file for you.
The quota hacks in the kernel aren't near as slow as the quotacheck on boot,
so your way is still well worth considering!  The nice thing about having
quota turned on is you can _do_ something about the numbers you see -- depending
on how big your disk farm is and how many users you have, there are going to
be tradeoffs.  Whether you want your users to take the action or whether you
expect it to be your job to remove files is part of that trade-off.

(Gee whiz, how did you get manuals?  They won't buy us any here, they claim
UNIX is trivially obvious and everything can be intuited with a little effort.)

Eleazor bar Shimon, once and future Carolingian
yba at sabre.bellcore.com



More information about the Comp.unix.wizards mailing list