On Fri, Jan 30, 2004 at 04:40:49PM +0700, pirat wrote:> hi sirs,
>
> i want to setup disk quota for each users at /home file system.
> do i need to have options QUOTA for kernel and put in the 4th field of
> /etc/fstab userquota ? oh yes, enable quota on also from
/stand/sysinstall.
Essentially, you've got it. Instead of using sysinstall you could
simply add the lines:
enable_quotas="YES"
check_quotas="YES"
to your /etc/rc.conf file.
> my problem is that i do not know where to put quota.user file and its
content
> too.
You don't need to create these manually. If you reboot after setting up
the above then the startup scripts will create them for you. Then to
edit them you would use the edquota command.
There's a chapter in the handbook about quotas at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html.
If you find it lacking in any way then we'd appreciate some feedback
over at doc@FreeBSD.org.
Finally, questions of this sort should be directed to the
questions@FreeBSD.org list in future.
Ceri
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040130/55aadd4d/attachment-0001.bin