
Adding quotas support on FreeBSD
November 1, 2008I followed these steps to add the QUOTA module in the kernel. Moreover, the new kernel will has the generic freebsd kernel options.
First, log in the system as root and type the following commands
- cd /sys/i386/conf
- vi QUOTAS_SUPPORT You can write the file name you want
- In the file type:
include GENERIC
options QUOTA
- config CUOTAS_SUPPORT Be sure that you type the file name you typed
- cd ../compile/CUOTAS_SUPPORT
- make cleandepend && make depend && make && make install
That’s all. You can also edit the /sys/i386/GENERIC or DEFAULTS file, but it is highly not recommended because you would lost the default kernel configuration.