applied http://savannah.nongnu.org/patch/?func=detailitem&item_id=4814
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 21 Jan 2006 13:22:23 +0000 (13:22 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 21 Jan 2006 13:22:23 +0000 (13:22 +0000)
commit75385100bedf6d457e88bc2bb942a6f0771b0e06
tree29479a3447f307b070fd59ea44668144ad597200
parent9c2cb19d6aee1ff6638c442894f22bb747477582
applied savannah.nongnu.org/patch/?func=detailitem&item_id=4814
(Daniel Hokka Zakrisson):

This patch lets users configure disk limits in
/etc/vservers/<name>/dlimits/*/, and have them set on the start of the
vserver, as well as saved when stopping the vserver.

For counting the amount of inodes and space used by a certain vserver
on a filesystem, I modified the old and broken vdu program (vdu bin
etc would not find etc, for instance) and made it useful again.

The cache files will probably need some love, I'm a bit uncertain as
to where to put them (or rather, the symlink to their location).

This is the last piece of the disk limits puzzle. A variant of this
would be really nice to have in 0.30.210. (do you have an ETA on that,
btw?)

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2252 94cd875c-1c1d-0410-91d2-eb244daf1a30
util-vserver/doc/configuration.xml
util-vserver/scripts/util-vserver-vars.pathsubst
util-vserver/scripts/vserver.functions
util-vserver/scripts/vserver.start
util-vserver/scripts/vserver.stop
util-vserver/src/Makefile-files
util-vserver/src/vdu.c