From 0367ea04357cc3132acde34301e004c31404e00a Mon Sep 17 00:00:00 2001 From: bouyer Date: Sun, 6 Mar 2011 17:08:10 +0000 Subject: merge the bouyer-quota2 branch. This adds a new on-disk format to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on. See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details. --- sys/modules/ffs/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/modules') diff --git a/sys/modules/ffs/Makefile b/sys/modules/ffs/Makefile index 3f9750e574e..cf8b21275d0 100644 --- a/sys/modules/ffs/Makefile +++ b/sys/modules/ffs/Makefile @@ -1,15 +1,16 @@ -# $NetBSD: Makefile,v 1.4 2010/03/03 00:01:20 pooka Exp $ +# $NetBSD: Makefile,v 1.5 2011/03/06 17:08:36 bouyer Exp $ .include "../Makefile.inc" .PATH: ${S}/ufs/ffs KMOD= ffs -CPPFLAGS+= -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA +CPPFLAGS+= -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2 .PATH: ${S}/ufs/ufs SRCS= ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_ihash.c ufs_inode.c \ - ufs_lookup.c ufs_quota.c ufs_vfsops.c ufs_vnops.c ufs_wapbl.c + ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c \ + ufs_vnops.c ufs_wapbl.c .PATH: ${S}/ufs/ffs SRCS+= ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \ -- cgit