On Sat, 9 Feb 2008, Ivan Georgiev wrote:
I was just playing, trying to see how quotactl works,
but in all my tries the values returned are doubled,
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.
I hope you are remembering that the limits are measured in blocks -- a
block is 512 bytes.
Thus a limit of 102400K is 204800 blocks, since each 1K holds 2 blocks.
--
Tod McQuillin
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"