Date: Fri, 30 Jan 2004 11:18:42 +0000 From: Ceri Davies <ceri@FreeBSD.org> To: pirat <pirat@access.inet.co.th> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: setup quota for each users Message-ID: <20040130111842.GM47004@submonkey.net> In-Reply-To: <20040130094049.GA6485@thai-aec.org> References: <20040130094049.GA6485@thai-aec.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--vxNpRqk6sR1V+qwt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2004 at 04:40:49PM +0700, pirat wrote: > hi sirs, >=20 > 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/sysinsta= ll. Essentially, you've got it. Instead of using sysinstall you could simply add the lines: enable_quotas=3D"YES" check_quotas=3D"YES" to your /etc/rc.conf file. > my problem is that i do not know where to put quota.user file and its con= tent > 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 --=20 --vxNpRqk6sR1V+qwt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAGj2RocfcwTS3JF8RAgHaAJ45wnffq9aUWW3hGIutEVS8wf6bqgCgxr++ qYtz6hcideaa0Om/Od63XyE= =F3cK -----END PGP SIGNATURE----- --vxNpRqk6sR1V+qwt--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040130111842.GM47004>