Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2001 03:11:48 +0200
From:      Roelof Osinga <roelof@nisser.com>
To:        freebsd-stable@freebsd.org
Subject:   discrepancy repquota versus du -k; HUGE
Message-ID:  <3AC52ED4.545DD7A@nisser.com>

next in thread | raw e-mail | index | archive | help
In short:

nl:/usr/local/etc/rc.d# repquota -u -a | grep ^dijkstra
dijkstra-assrn  --     1090        0        0             307       0       0
nl:/usr/local/etc/rc.d# du -k -d 0 /home/intraction/dijkstra-assrn/
1430    /home/intraction/dijkstra-assrn/


Well, this amounts to a discrepancy of almost 50%. So I'm wondering,
that causes this slack? Or which of the two is more accurate. So I'm
thinking of giving users some 50K 1K blocks each.

Also,

nl:/usr/local/etc/rc.d# quot -k /dev/twed0s1h
/dev/twed0s1h:
 3519   roelof
 2442   root
 1090   dijkstra-assrn
 ...

du(3):
     erwise getbsize(3) is used to determine the preferred block size.  Par-
     tial numbers of blocks are rounded up.

IOW, slack. Does that account for it?

Just wondering, mind.

Roelof

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC52ED4.545DD7A>