Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 22:29:35 +0100
From:      Roelof Osinga <roelof@nisser.com>
To:        "Mark B. Withers" <mwithers@one.net>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: enable-quotas
Message-ID:  <3A68B1BF.236D0770@nisser.com>
References:  <3A653895.8A35A460@mtanet.net> <20010119045018.C7568@arrakis.desert-power.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mark B. Withers" wrote:
> 
> Russ,
> 
> >From what I am able to ascertain, 1 block = 1024 bytes = 1M
> 
> output from the du command with no arguements:
> 
> 39760 ---> which by default gives values listed in blocks
> 
> output from the "du -h" command:
> 
> 39M
> 
> If I am wrong, it should be easy to figure out. I believe each user
> can display their quota with the quota command.

Ah, there is was. I'd misplaced the original message <g>. I believe
the du command reports 1K blocks and listens to that environment
var (eh... thingum) to boot.

quot(8), though, states:

     -k      Cause the numbers to be reported in kilobyte counts.  By
default,
             all sizes are reported in 512-byte block counts.

which leads one to believe that the quota.* info will be in traditional
512 byte blocks. Haven't checked it with the source though.

Roelof

PS reporting is done in blocks, so you should check that with du

-- 
Home is where the (@) http://eboa.com/ is.
Nisser home -- http://www.Nisser.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A68B1BF.236D0770>