question regarding quotas
Dan Nelson
dnelson at allantgroup.com
Sun Jun 29 15:08:45 PDT 2003
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 at allantgroup.com
More information about the freebsd-questions
mailing list