FreeBSD-Quota-Howto
|
FreeBSD-Quota-Howto Version 1.0 This document describes how to enable quota on a FreeBSD system. Please be aware that this document comes without warranty of any kind!
1 Compile a New KernelFirst you have to compile/install a kernel that supports quota (not enabled by default) (more information about compiling a new kernel can be found here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html). cd /usr/src/sys/i386/conf Edit the file MYKERNEL and add the line options QUOTA Then run the following commands: /usr/sbin/config
MYKERNEL (For FreeBSD version prior to 5.0, use instead: cd ../../compile/MYKERNEL ) make depend
2 Enable QuotaEdit the file /etc/fstab and look for the entry, in which the directory /home is mentioned, e.g. /dev/ad0s1d /home
ufs rw 2 2 Add the words userquota and groupquota as follows: /dev/ad0s1d /home ufs rw,userquota,groupquota 2 2 To enable quota at boot time you have to add the following lines to /etc/rc.conf: quota_enable="YES" Reboot the system: shutdown -r now After the reboot run the following commands: quotacheck -a Install the setquota-Tool at last: pkg_add -r setquota Original location of this document: http://www.falkotimme.com/howtos/freebsd_quota/
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video







Recent comments
16 hours 49 min ago
18 hours 4 min ago
18 hours 5 min ago
1 day 3 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 18 hours ago
1 day 21 hours ago
2 days 3 hours ago
2 days 5 hours ago