On Wed, Jul 10, 2013 at 01:42:16PM +0200, Edgar Fuß wrote: > EF> If I quota_put(), which one of them am I supposed to fill in if I want to > EF> set the user's grace period? > > MB> qv_grace I guess. qv_expiretime is the date at which the grace period > MB> expires when the user is above the soft limit. > Thanks. And I set qv_expiretime to zero? > Do I guess correctly that qv_expiretime's intended usage is that quota_get() > sets it so I can find out when an already running grace period expires?
yes, that's it. You're not supposed to change it (and I would expect the kernel to ignore it, if it's passed to kernel when setting quotas). > > Could this be (by a more knowledgeable person than me) please be clarified in > libquota(3)? Also, I suppose qv_grace is in seconds, right? Yes. -- Manuel Bouyer <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
