Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 08:33:20 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org
Cc:        Ivan Georgiev <yngwiie@bk.ru>
Subject:   Re: quotactl returns double values
Message-ID:  <200802100833.36917.doconnor@gsoft.com.au>
In-Reply-To: <20080209220206.695e5d9b.yngwiie@bk.ru>
References:  <20080209220206.695e5d9b.yngwiie@bk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1693033.5eWXbDU3C1
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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.

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

=2D-=20
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

--nextPart1693033.5eWXbDU3C1
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHriM45ZPcIHs/zowRAhG6AJ9ILUtn5hVT/xR/hbxpdQB9a0xcJgCdGjGL
XIL5FstdmDX8xvHabdVt8pU=
=1Du+
-----END PGP SIGNATURE-----

--nextPart1693033.5eWXbDU3C1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802100833.36917.doconnor>