Commit Graph

13 Commits

Author SHA1 Message Date
matt ded3ab848b Make this compile on vax (uninitialized use warning). 2012-02-02 03:00:48 +00:00
dholland a577f74f5b libquota no longer requires libprop. Also remove some other no-longer-used
.PATH'd-in bits from repquota.
2012-02-01 17:53:01 +00:00
dholland f2da15f559 Remove unwanted decl of the old quotactl syscall. 2012-02-01 05:07:08 +00:00
dholland 56581d9c24 Needs its own copy of quotaprop.[ch] too. 2012-01-30 19:31:31 +00:00
dholland 2d9ddf6e73 Make it build in userlevel and hook it in. 2012-01-30 19:28:11 +00:00
dholland 89dd9c69f6 Add a copy of the proplib interpreter here so this program will
continue to work after it's removed from the kernel. This copy is
unchanged from sys/kern/vfs_quotactl.c except that I've preserved a
cop of the old rcsid.
2012-01-30 19:23:49 +00:00
joerg bec77c5f43 Use __dead 2011-08-31 13:32:36 +00:00
bouyer a3a7248ce7 Fix bad cut'n'paste in copyright. Pointed out by dyoung@ 2011-06-07 14:56:12 +00:00
bouyer c5e67c7b83 quota2_prop.c moved to libquota 2011-03-25 10:30:35 +00:00
bouyer d9210c2405 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 ...)
2011-03-24 17:05:39 +00:00
njoly d96aa7b8c7 - Protect flags to avoid macro expansion by mandoc.
- Explicitely close display block.
2011-03-07 17:44:37 +00:00
wiz 9758975014 Remove trailing whitespace; remove dot at end of SEE ALSO; new sentence, new line;
split "file system"; more markup.
2011-03-06 17:34:57 +00:00
bouyer 063f96f3c2 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.
2011-03-06 17:08:10 +00:00