Re: How to set quota ( as Mbyte ) for a directory?

2008-08-09 Thread John Nielsen
On Friday 08 August 2008, Chuck Swiger wrote:
 On Aug 8, 2008, at 11:49 AM, Yavuz Maslak wrote:
  On freebsd7, How to set quota for a directory?
  For instance I want to set 100Mbyte quota for a directory. How can
  I do
  that ?

 Quotas are handled per filesystem, not per directory.
 See man quotaon  man quotacheck, or the FreeBSD Handbook.

If you're in a position to use/migrate to ZFS, quotas are something you 
get for free. You still have to apply them on a per-filesystem basis but 
a ZFS filesystem is just part of a pool so it's a lot more dynamic. See 
the quota and refquota property descriptions in the zfs(1M) manpage.

However, ZFS is only available in FreeBSD 7.0 or newer and is still 
considered experimental. There is a patch for -HEAD (8-CURRENT) that brings 
in the latest version and addresses many issues, but it hasn't been 
backported to 7.x (and may not be).

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Yavuz Maslak
On freebsd7, How to set quota for a directory?
For instance I want to set 100Mbyte quota for a directory. How can  I do
that ?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Chuck Swiger

On Aug 8, 2008, at 11:49 AM, Yavuz Maslak wrote:

On freebsd7, How to set quota for a directory?
For instance I want to set 100Mbyte quota for a directory. How can   
I do

that ?


Quotas are handled per filesystem, not per directory.
See man quotaon  man quotacheck, or the FreeBSD Handbook.

Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread acmeinc

You may actually use the edquota -u command to set a quota a specific user. 
I think this is about as specific as you can get.  edquota -g is for groups
and edquota -f is for a filesystem.  
-- 
View this message in context: 
http://www.nabble.com/How-to-set-quota-%28-as-Mbyte-%29--for-a-directory--tp18897426p18899490.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]