Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2003 17:08:43 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Josh Brooks <user@mail.econolodgetulsa.com>
Cc:        questions@freebsd.org
Subject:   Re: question regarding quotas
Message-ID:  <20030629220843.GA30324@dan.emsphone.com>
In-Reply-To: <20030629150035.K57224-100000@mail.econolodgetulsa.com>
References:  <20030629014542.GA84766@dan.emsphone.com> <20030629150035.K57224-100000@mail.econolodgetulsa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 29), Josh Brooks said:
> On Sat, 28 Jun 2003, Dan Nelson wrote:
> > Quotas are per-user, not per-directory.  Any files those users
> > create, anywhere in that filesystem, will contribute to their
> > quota.  Files created by other userids but placed in those
> > directories will count against the other user's quota.
> >
> > Basically what happens with per-directory quotas is that the users
> > learn not to put files in their homedir :) They end up finding
> > someplace that they can write to outside their homedir and put
> > files there instead.
>
> Thank you.  Do per-directory quotas exist (in any fashion) in FreeBSD
> ?  I am looking for a way to do per-directory, even if it is a hack
> of some kind...

The only thing I can think of that might work: if you didn't mind a
whole lot of filesystems, you could create a filesystem per directory
you wanted to control.  Then the filessytem size itself would be the
"quota".

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030629220843.GA30324>