Re: quotactl returns double values

2008-02-10 Thread Mike Pritchard
On Sun, Feb 10, 2008 at 01:04:24PM +0900, Tod McQuillin wrote: > 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 >

Re: quotactl returns double values

2008-02-09 Thread Tod McQuillin
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

Re: quotactl returns double values

2008-02-09 Thread Daniel O'Connor
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

quotactl returns double values

2008-02-09 Thread Ivan Georgiev
Hello, I was just playing, trying to see how quotactl works, but in all my tries the values returned are doubled, here is an example: #include #include #include #include #include int main(int argc, char* argv[]) { stru

quotactl returns double values

2008-02-09 Thread Ivan Georgiev
Hello, I was just playing, trying to see how quotactl works, but in all my tries the values returned are doubled, here is an example: #include #include #include #include #include int main(int argc, char* argv[]) { stru