From owner-cvs-src-old@FreeBSD.ORG Fri May 7 00:50:52 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69643106566C for ; Fri, 7 May 2010 00:50:52 +0000 (UTC) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 43A588FC13 for ; Fri, 7 May 2010 00:50:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o470oqSR008887 for ; Fri, 7 May 2010 00:50:52 GMT (envelope-from mckusick@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o470oqFm008886 for cvs-src-old@freebsd.org; Fri, 7 May 2010 00:50:52 GMT (envelope-from mckusick@repoman.freebsd.org) Message-Id: <201005070050.o470oqFm008886@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mckusick@repoman.freebsd.org using -f From: Kirk McKusick Date: Fri, 7 May 2010 00:41:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/sys quotactl.2 src/lib/libutil Makefile libutil.h quotafile.3 quotafile.c src/libexec/rpc.rquotad Makefile rquotad.c src/sbin/quotacheck Makefile preen.c quotacheck.8 quotacheck.c quotacheck.h src/sys/ufs/ufs quota.h ufs_quota.c ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2010 00:50:52 -0000 mckusick 2010-05-07 00:41:12 UTC FreeBSD src repository Modified files: lib/libc/sys quotactl.2 lib/libutil Makefile libutil.h libexec/rpc.rquotad Makefile rquotad.c sbin/quotacheck Makefile preen.c quotacheck.8 quotacheck.c quotacheck.h sys/ufs/ufs quota.h ufs_quota.c ufs_vfsops.c ufsmount.h usr.bin/quota Makefile quota.c usr.sbin/edquota Makefile edquota.8 edquota.c usr.sbin/quotaon Makefile quotaon.c usr.sbin/repquota Makefile repquota.8 repquota.c Added files: lib/libutil quotafile.3 quotafile.c Log: SVN rev 207736 on 2010-05-07 00:41:12Z by mckusick Merger of the quota64 project into head. This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users). By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify: options QUOTA # Enable FFS quotas If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'. There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work. Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project. Revision Changes Path 1.27 +18 -4 src/lib/libc/sys/quotactl.2 1.78 +10 -2 src/lib/libutil/Makefile 1.52 +17 -0 src/lib/libutil/libutil.h 1.1 +290 -0 src/lib/libutil/quotafile.3 (new) 1.1 +593 -0 src/lib/libutil/quotafile.c (new) 1.9 +2 -2 src/libexec/rpc.rquotad/Makefile 1.14 +36 -122 src/libexec/rpc.rquotad/rquotad.c 1.10 +2 -0 src/sbin/quotacheck/Makefile 1.29 +43 -34 src/sbin/quotacheck/preen.c 1.22 +18 -0 src/sbin/quotacheck/quotacheck.8 1.37 +103 -195 src/sbin/quotacheck/quotacheck.c 1.2 +3 -9 src/sbin/quotacheck/quotacheck.h 1.32 +38 -6 src/sys/ufs/ufs/quota.h 1.101 +362 -32 src/sys/ufs/ufs/ufs_quota.c 1.53 +16 -0 src/sys/ufs/ufs/ufs_vfsops.c 1.41 +1 -0 src/sys/ufs/ufs/ufsmount.h 1.7 +1 -0 src/usr.bin/quota/Makefile 1.36 +89 -159 src/usr.bin/quota/quota.c 1.10 +6 -0 src/usr.sbin/edquota/Makefile 1.25 +19 -1 src/usr.sbin/edquota/edquota.8 1.28 +347 -278 src/usr.sbin/edquota/edquota.c 1.8 +3 -0 src/usr.sbin/quotaon/Makefile 1.15 +25 -94 src/usr.sbin/quotaon/quotaon.c 1.10 +2 -0 src/usr.sbin/repquota/Makefile 1.13 +6 -1 src/usr.sbin/repquota/repquota.8 1.24 +84 -119 src/usr.sbin/repquota/repquota.c