Commit Graph

9727 Commits

Author SHA1 Message Date
mbalmer
428c959348 Fix PR 42923, from Takahiro HAYASHI, thanks. 2011-04-02 10:19:27 +00:00
dholland
81f95bf6fa Don't cast return value of malloc 2011-03-30 05:24:05 +00:00
dholland
b639c25325 use __printflike() 2011-03-30 05:20:59 +00:00
bouyer
e5fa3d981b Make sure to not report quotas for a class if we didn't get valid datas
from kernel.
2011-03-27 17:15:17 +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
jruoho
b0ced04988 As per request from the author, put non-standard PERFORMANCE back. 2011-03-24 05:48:54 +00:00
christos
8bd84b0401 Fix typos in character ranges from: Baptiste Daroussin bapt at freebsd dot org 2011-03-23 13:11:51 +00:00
jruoho
761da725b5 Use 'offset indent' for the list of commands. Emphasize valid commands.
Remove PERFORMANCE (too small paragraph to warrant a section).
2011-03-22 07:40:10 +00:00
jruoho
b9f2143d66 Use .Ss for non-standard subtitles in the DESCRIPTION. 2011-03-22 07:31:42 +00:00
jruoho
3ce23e1c1e Use a better width for the list. 2011-03-21 15:35:21 +00:00
joerg
ff53df718a Create vers.c with -r, there is no point in embedding an ever changing
token that isn't even used.
2011-03-21 05:09:33 +00:00
plunky
0e26bab8bd provide more informative error messages 2011-03-20 19:46:13 +00:00
ahoka
ab7aeea36d Fix markbad command 2011-03-20 06:10:27 +00:00
christos
ade14f59b9 don't decrement if children are 0 2011-03-17 19:43:34 +00:00
joerg
080ec811b2 Remove chrtbl(8). Since NetBSD 1.6, the rune type based file format for
LC_CTYPE has been used.
2011-03-17 02:35:27 +00:00
christos
155180a9df - safer way to count kids
- if we are really bombarded with connections, don't bother to fork() and
  converse.
2011-03-16 20:17:00 +00:00
christos
976d43ec5c provide unconst for the havenots 2011-03-16 20:15:59 +00:00
pooka
8a0861f462 remove unnecessary superuser check -- bind will fail if bind fails 2011-03-14 12:03:45 +00:00
erh
b0e49f7e0c Fix the usage of the -s option to mention using it multiple times, rather
than the deprecated colon separated syntax.
2011-03-12 23:04:16 +00:00
njoly
d96aa7b8c7 - Protect flags to avoid macro expansion by mandoc.
- Explicitely close display block.
2011-03-07 17:44:37 +00:00
bouyer
5fd63a9777 Don't use the same char b0[] for BLOCK and FILE timeprt(), they would
override each others.
2011-03-07 11:56:31 +00:00
christos
e73fcb7199 KNF 2011-03-06 23:41:47 +00:00
christos
6a453cd117 more code deduplication 2011-03-06 23:25:42 +00:00
christos
cb869888d4 use common utils 2011-03-06 23:24:33 +00:00
christos
412de05f04 more KNF 2011-03-06 23:13:22 +00:00
christos
a518d1d73c use merged out code. 2011-03-06 23:07:23 +00:00
christos
3f339fb13b - KNF
- merge code
- fix error printing
- don't use static buffers
2011-03-06 22:33:55 +00:00
wiz
54f3ceb271 Sort options, split "file system". 2011-03-06 17:36:32 +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
wiz
ee43c34a26 Split "file system" like usual. Improve SYNOPSIS. Various other fixes. 2011-03-06 17:32:38 +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
wiz
537c852bde Fix a typo, sort commands. 2011-02-27 23:28:12 +00:00
ahoka
f338bae6fa Add manpage for flashctl 2011-02-27 17:51:45 +00:00
ahoka
2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
jmcneill
6c24ed80e8 make pcictl pci0 list dump all busses by default, unless a bus number is
specified with -b
2011-02-25 21:40:48 +00:00
wiz
1cc61a3b95 Add quoting for minus, for PostScript output. 2011-02-25 14:11:25 +00:00
jmcneill
29a080d47e Today I learned that 'pcictl pci0 list -b -1' lists devices on all busses. 2011-02-25 13:50:18 +00:00
hannken
05e91bfee8 fss(4): Allow FSSIOCSET to set the initial flags. Add a new flag
"FSS_UNLINK_ON_CREATE" to unlink the backing store before
        the snapshot gets created.

With this change dump(8) no longer dumps the zero-sized, but named
snapshot it is working on.  Same applies to fsck_ffs(8).
2011-02-24 09:38:57 +00:00
dyoung
6c185a0be8 Don't use bool as a variable name.
Remove a bunch of parameter names form function prototypes.
2011-02-23 01:23:03 +00:00
jmcneill
623e90f32d fix printing of padlock features 2011-02-19 13:34:38 +00:00
wiz
3d273e44b9 Sort option descriptions. Merge single-letter options in SYNOPSIS. 2011-02-17 17:05:05 +00:00
jruoho
e96937f774 Provide a definition for the size of the RSDP in ACPI 1.0.
Appears to be missing in the new ACPICA.
2011-02-17 15:06:34 +00:00
jmcneill
0a87e1998a document -c and -s flags 2011-02-17 10:21:02 +00:00
jmcneill
d34a996f1f - when dumping table bytes, make sure to dump our header and not the next one
- also dump tables with bad checksums, unless the -s flag is specified
2011-02-17 10:18:05 +00:00
jmcneill
d91f7d5299 dump bytes for tables that acpidump doesn't decode, and print them
as characters instead of hex if '-c' flag is provided
2011-02-17 02:55:16 +00:00
uebayasi
dbb2d01c6b Suppress a superfluous whitespace after "time=..." in the output. 2011-02-14 16:27:58 +00:00
kefren
a9e39e843e get rid of unused variable/assignments 2011-02-14 11:43:59 +00:00
enami
e8824b0da4 A number greater than or equal to 1.0 is a positive number. 2011-02-14 02:43:37 +00:00
enami
5a1e40df4f Put space after comma and around binary operator. 2011-02-14 02:42:26 +00:00