The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 set up quota for users
Author: Amy 
Date:   27-11-02 17:12

I want to enable quota for /usr/home, but I don't have /home on my /etc/fstab file. What do I need to do?

Thanks.

Reply To This Message
 
 Re: set up quota for users
Author: Dan Larsson 
Date:   04-12-02 09:04

You can only set quotas per slice (partition) and only after
you've recompiled and installed a kernel with QUOTA support.

For example let's say I've got a kernel with quota support and
want to enable per user quotas on "/dev/da4s1f", this is what I'd
do:

echo 'enable_quotas="YES"' >>/etc/rc.conf
echo 'check_quotas="YES"' >>/etc/rc.conf

Change the following line in "/etc/fstab":

/dev/da4s1f /share ufs rw 22

To:

/dev/da4s1f /share ufs rw,userquota 22

After reboot quotas are now enabled on the "/dev/da4s1f" slice.
More detailed info is available through the handbook and manpages.

/D

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org