tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Quota on tmpfs



On Tue, Jul 17, 2012 at 07:33:48AM +0000, David Holland wrote:
> On Fri, Jul 13, 2012 at 11:53:42AM +0200, Francois Tigeot wrote:
>  > > Are you likely to adopt the new NetBSD quota(3) library interface? It
>  > > may be a little more complicated, but it will let you import the
>  > > traditional quota tools from NetBSD instead of rewriting them and save
>  > > you from having to port a few pieces of 3rd-party software... and it
>  > > shouldn't constrain your implementation much.
>  > 
>  > I'm looking into it; the NetBSD implementation seems to be sufficiently
>  > different I'm not sure it could be used as-is.
> 
> Even the interface? It was supposed to be general... :(

One of the most important differences I see is it expects disk blocks; my vfs
quota code doesn't even know what a disk block is. All limits are in bytes.

-- 
Francois Tigeot


Home | Main Index | Thread Index | Old Index