Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: bouyer
Date: Thu Mar 24 17:05:48 UTC 2011
Modified Files:
src/common/include/prop: prop_array.h prop_dictionary.h
src/common/lib/libprop: prop_array_util.3 prop_array_util.c
prop_dictionary_util.3 prop_dictionary_util.c
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/etc/mtree: NetBSD.dist.base
src/include: Makefile
src/lib: Makefile
src/libexec/rpc.rquotad: Makefile rquotad.c
src/share/mk: bsd.README bsd.hostprog.mk
src/sys/compat/common: vfs_syscalls_50.c
src/sys/lib/libkern: Makefile.libkern
src/sys/rump/librump/rumpvfs: Makefile.rumpvfs
src/sys/sys: quota.h
src/sys/ufs: files.ufs
src/sys/ufs/ufs: quota.h quota1.h quota1_subr.c quota2.h quota2_subr.c
ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c
src/usr.bin/quota: Makefile getvfsquota.c getvfsquota.h printquota.c
printquota.h quota.c quotautil.c quotautil.h
src/usr.sbin/edquota: Makefile edquota.c
src/usr.sbin/quotactl: quotactl.c
src/usr.sbin/quotaon: Makefile quotaon.c
src/usr.sbin/repquota: Makefile repquota.c
Added Files:
src/common/include/quota: Makefile quota.h quotaprop.h
src/common/lib/libquota: Makefile.inc quotaprop.c quotasubr.c
src/lib/libquota: Makefile getfsquota.c getnfsquota.c getufsquota.c
shlib_version
Removed Files:
src/sys/ufs/ufs: quota2_prop.c quota2_prop.h
Log Message:
Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/common/include/prop/prop_array.h
cvs rdiff -u -r1.12 -r1.13 src/common/include/prop/prop_dictionary.h
cvs rdiff -u -r0 -r1.1 src/common/include/quota/Makefile \
src/common/include/quota/quota.h src/common/include/quota/quotaprop.h
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libprop/prop_array_util.3 \
src/common/lib/libprop/prop_dictionary_util.3
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libprop/prop_array_util.c
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libprop/prop_dictionary_util.c
cvs rdiff -u -r0 -r1.1 src/common/lib/libquota/Makefile.inc \
src/common/lib/libquota/quotaprop.c src/common/lib/libquota/quotasubr.c
cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.42 -r1.43 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.117 -r1.118 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.110 -r1.111 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.926 -r1.927 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.578 -r1.579 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.25 -r1.26 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.103 -r1.104 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1602 -r1.1603 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.163 -r1.164 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.78 -r1.79 src/etc/mtree/NetBSD.dist.base
cvs rdiff -u -r1.133 -r1.134 src/include/Makefile
cvs rdiff -u -r1.164 -r1.165 src/lib/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/libquota/Makefile \
src/lib/libquota/getfsquota.c src/lib/libquota/getnfsquota.c \
src/lib/libquota/getufsquota.c src/lib/libquota/shlib_version
cvs rdiff -u -r1.7 -r1.8 src/libexec/rpc.rquotad/Makefile
cvs rdiff -u -r1.26 -r1.27 src/libexec/rpc.rquotad/rquotad.c
cvs rdiff -u -r1.279 -r1.280 src/share/mk/bsd.README
cvs rdiff -u -r1.61 -r1.62 src/share/mk/bsd.hostprog.mk
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/common/vfs_syscalls_50.c
cvs rdiff -u -r1.12 -r1.13 src/sys/lib/libkern/Makefile.libkern
cvs rdiff -u -r1.29 -r1.30 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/quota.h
cvs rdiff -u -r1.25 -r1.26 src/sys/ufs/files.ufs
cvs rdiff -u -r1.26 -r1.27 src/sys/ufs/ufs/quota.h
cvs rdiff -u -r1.2 -r1.3 src/sys/ufs/ufs/quota1.h \
src/sys/ufs/ufs/quota1_subr.c src/sys/ufs/ufs/quota2_subr.c \
src/sys/ufs/ufs/ufs_quota1.c src/sys/ufs/ufs/ufs_quota2.c
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/ufs/quota2.h
cvs rdiff -u -r1.2 -r0 src/sys/ufs/ufs/quota2_prop.c \
src/sys/ufs/ufs/quota2_prop.h
cvs rdiff -u -r1.69 -r1.70 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.41 -r1.42 src/sys/ufs/ufs/ufs_vfsops.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/quota/Makefile
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/quota/getvfsquota.c \
src/usr.bin/quota/printquota.c
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/quota/getvfsquota.h
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/quota/printquota.h
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/quota/quota.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/quota/quotautil.c \
src/usr.bin/quota/quotautil.h
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/edquota/Makefile
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/edquota/edquota.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/quotactl/quotactl.c
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/quotaon/Makefile
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/quotaon/quotaon.c
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/repquota/Makefile
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/repquota/repquota.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index