On Thu, 2007-03-22 at 13:01 -0400, Simo Sorce wrote:
projects: a, b, c
if ((quota(a) + quota(b) + quota(c)) < totaldiskspace) {
that was a '>' of course not a '<' :-(
broken(idea);
exit;
}
:-)
Also broken if you have > 10-20 projects, becomes unmanageable.
But there is another possible way, use ACLs, and set by default the
group owner of all files under the project head directory to a specific
group matched to the project (you want to do that anyway to give rw to
the group), then set a group quotas.
Simo.