Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!watdcsu!payne
From: payne@watdcsu.UUCP
Newsgroups: comp.os.vms
Subject: Re: Diskquota vs. Directory /by_owner /grand /size
Message-ID: <3684@watdcsu.waterloo.edu>
Date: Mon, 27-Jul-87 07:42:52 EDT
Article-I.D.: watdcsu.3684
Posted: Mon Jul 27 07:42:52 1987
Date-Received: Tue, 28-Jul-87 01:38:11 EDT
References: <870721230322.0000070C0D1@cuchem.chem.columbia.edu> <1729@dino.cpe.ulowell.edu>
Reply-To: payne@watdcsu.waterloo.edu (Doug Payne)
Distribution: world
Organization: U. of Waterloo, Ontario
Lines: 24

In article <1729@dino.cpe.ulowell.edu> rimbold@dino.cpe.ulowell.edu (Rob Rimbold) writes:
>
>***
>
>The diskquota utility gets its information from the Quota.Sys file
>on each disk. That file is updated periodically by the file system.
>Reason number 1 why the dir/size/grand didn't match up to what
>the Diskquota utility reported.
>
>Reason number 2, is that the dir/size/grand reports only the *actual* 
>which amount of data in the file. The file may actually have allocated
>more space than it is currently using. You may look at how much space it
>has allocated with a Dir/size=All. Even then, I'm not entirely sure whether
>or not that the size of the file headers are taken into account..

Not to mention file headers, which I believe are included in disk quotas,
but not in DIR/SIZE. If you check a newly created user, with only a root
directory to her/his name, you'll probably find that the directory is 3
blocks long, but disk quota reports 4 blocks used. The only thing missing is
the file header of the directory file. It uses disk space, too. Jeeez, I
sure hope this is the only answer like this. I sure wouldn't want to be part
of a multiple contribution!

Doug