[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tricky quota question
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Tricky quota question
- From: Lars Hansson <lars-openbsd-misc_(_at_)_unet_(_dot_)_net_(_dot_)_ph>
- Date: Tue, 21 Aug 2001 10:16:38 +0800
- Mail-followup-to: Lars Hansson <lars-openbsd-misc_(_at_)_unet_(_dot_)_net_(_dot_)_ph>, misc_(_at_)_openbsd_(_dot_)_org
On Mon, Aug 20, 2001 at 05:22:26PM -0500, Jeff Bachtel wrote:
> Three possible ideas:
> 1) Modify webdav to effectively handle virtual users and their quotas.
> Something for the mod_dav people to do, but not a particularly
> out-of-line feature request.
I think that's being worked on. Not by me though, fortunately.
> 2) Modify OpenBSD's quota code to recognize a quota.directory
> directive, which specifies hard/soft limits and gracetime for a
> directory. This is actually kinda nasty to think about.
Considering my C skills you dont want me mucking about the OpenBSd base code...:P
> 3) Make each "directory" be a fixed-size vnd device. This solution is
> doable with current tools, although it isn't the ideal (#1 probably
Hmm...didnt think of vnd's. I'll try that and see how well it works
It'll be a bit tricky to increase existing quotas though, i think.
I actually tried using group quotas (each user has his own group, the "hosted" directory has user www and group <user>) and it seemed to work. It's a bit of a kludge though and you might end up with a lot of groups.
Lars Hansson Technical Consultant/System Administrator
UNET, Inc. Makati City, Philippines
Visit your host, monkey.org