quotactl returns double values

Daniel O'Connor doconnor at gsoft.com.au
Sat Feb 9 22:04:04 UTC 2008


On Sun, 10 Feb 2008, Ivan Georgiev wrote:
> the values stored in my_st->dqb_bhardlimit and my_st->dqb_curblocks
> are the real values times two, the hard limit on the user is 102400K,
> but my_st->dqb_bhardlimit holds 204800K.
>
> Could someone please tell me what i am doing wrong.

From my reading of the header I would say the quota is reported/set in 
terms of the number of 512 byte disk blocks rather than in kilobytes.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080209/4a744e53/attachment.pgp


More information about the freebsd-hackers mailing list