tech-kern archive

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

Re: Quota on tmpfs



On Fri, Jul 13, 2012 at 04:01:38AM -0400, Matthew Mondor wrote:
 > >  > Yet another hack would be to create a sparse ffs image under a tmpfs,
 > >  > mounted with quotas via vnd, but evaluating its ideal size might be
 > >  > difficult, and you'd have to re-apply quota settings in the script that
 > >  > creates the image at boot time... :)
 > > 
 > > Using mfs instead of tmpfs is probably a better bet here. mfs brings
 > > in enough of ufs that adding quota support to it shouldn't be
 > > particularly complicated.
 > 
 > I was also wondering initially if mfs didn't actually already support
 > quotas because of this similarity, but it doesn't seem so at the moment
 > indeed

I believe the situation with both mfs and lfs is that some pieces of
the support are in place but not others. It was clear when hacking up
the code that neither had actually been tried by anyone in a long,
long time...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index