setting quotas from inside a jail

Charles Sprickman spork at bway.net
Tue Mar 24 00:31:47 PDT 2009


Hello all,

The subject describes my goal.  I'm aware of the usual caveats - if 
there's more than one jail, no UID overlap, this will really only work in 
one jail if all jails are on the same filesystem, etc.

I found a very, very old post that has an... interesting... technique:

http://groups.google.com/group/mpc.lists.freebsd.hackers/msg/2b92fc66ac72efa6?hl=en

It actually works.  "It" being I suppose the fstab trickery in the jail. 
I need to test this some more, but it does seem possible to edit quotas 
inside the jail, which is my basic goal.  I don't want my provisioning box 
to have to hit the host just to alter quotas in one jail that needs them.

Just looking for any warnings/caveats about the above and what might be 
different 6+ years later...

Thanks,

Charles

___
Charles Sprickman
NetEng/SysAdmin
Bway.net - New York's Best Internet - www.bway.net
spork at bway.net - 212.655.9344



More information about the freebsd-stable mailing list