October 2001
Beginner
1024 pages
25h 8m
English
Remember those users from earlier in the chapter, who wouldn't stop uploading files and forced you to buy a new disk to accommodate them? Well, suppose you decided that you didn't want any single user to be able to use more than 20MB unless they got special permission from you. This can be done with quotas.
Quotas are not built in to the GENERIC kernel. To enable them, you have to add the following line to your kernel configuration:
options QUOTA
See Chapter 17 for information on building a custom kernel. Then there are a couple of switches in /etc/rc.conf, which enables support for quotas when the system is brought up; you'll want to add these lines:
enable_quotas="YES"
check_quotas="NO"
The ...
Read now
Unlock full access