Commit Graph

11959 Commits

Author SHA1 Message Date
wiz
102fc9f099 emove duplicate RCS Id. Bump date for previous. 2012-12-06 07:52:12 +00:00
khorben
10836027d1 Added a reference to prenice(1)
ok riz@, mrg@
2012-12-05 23:59:33 +00:00
wiz
c7ee419f37 Bump date for previous. Remove trailing whitespace. 2012-12-03 07:49:21 +00:00
erh
740a124173 Honor the -t option to set the time format when running stat -s.
Document the format used by -s on the man page.
2012-12-02 21:13:07 +00:00
reed
ed8d05eebe install the mkubootimage(1) manual 2012-12-02 02:21:28 +00:00
mbalmer
e3f283b63f Fix misspelling: accommodate is a long enough word to have room for two 'c's
and two 'm's.
2012-12-01 11:41:49 +00:00
wiz
1221f3d89d More markup. 2012-12-01 08:16:25 +00:00
matt
555aa92b83 Change ULONG_MAX to UINT32_MAX 2012-12-01 05:26:16 +00:00
wiz
f6a7e95e09 Sort SYNOPSIS. Remove unnecessary Ns. Punctuation nit. 2012-11-30 08:25:35 +00:00
reed
9557060a47 Add a manual for mkubootimage(1). It was missing.
It had one review on netbsd-docs@.
I didn't add the manual to the Makefile nor distrib set yet --
waiting for more review or improvements first.
2012-11-29 23:23:22 +00:00
mbalmer
d6d52f19c7 Remove an obsolete (and incomprehensible) comment. Discussed with and ok
Roy Marples, Joerg Sonnenberger.
2012-11-29 23:01:16 +00:00
christos
3d7bb1da45 support printing rnd descriptor info 2012-11-25 15:30:28 +00:00
christos
0548a80ae0 return stuff for ksem 2012-11-25 01:05:49 +00:00
christos
c7c1f1a254 - add more debugging.
- in misctrans() we need the file index not the file type.
2012-11-25 00:36:23 +00:00
christos
79abd5ecae PR/47237: Steffen Nurpmeso: Detect more than 2 pad characters and mark as bad. 2012-11-24 21:40:02 +00:00
christos
5c26317391 bufmem is unsigned. 2012-11-23 15:35:57 +00:00
pgoyette
a5f70a7bc1 Fix format string to resolve build break 2012-11-23 06:44:38 +00:00
christos
0f21b86617 use more sysctl 2012-11-23 03:47:36 +00:00
christos
06cfe04c08 fix wrong sysctl 2012-11-23 03:46:35 +00:00
christos
9a3978f67e use more sysctl 2012-11-23 03:37:27 +00:00
christos
abc21e6c39 use sysctl 2012-11-23 03:33:05 +00:00
joerg
ab86636a8f Adding missing new lines in output. 2012-11-23 02:57:57 +00:00
christos
2696762d5f mbufs display was broken since the time we moved to percpu stats. 2012-11-23 01:43:10 +00:00
christos
f17f1ddf91 PR/47222: Manuel Bouyer: Fix syscall display to show something reasonable. 2012-11-23 00:05:18 +00:00
pgoyette
3a4bfc9ee9 Note that 'su -l' does not update utmp and related databases. 2012-11-21 19:30:53 +00:00
christos
1524d388a5 Don't use p_comm since it is only 16 characters long and you can find the
full argv[0]. It is just confusing to have a long command name, that ps
shows as the long command name, and then when you try to kill it using
the full command name as displayed you don't get a match. While there
fix a format nit, and remove the main() declaration.
2012-11-20 22:52:01 +00:00
christos
7e4ddd095e include the variable name in debugging printfs. 2012-11-15 16:42:26 +00:00
chs
ad0d9d79c0 fix operation on core files: cur_drive.io_name is an embedded array
in the structure we already fetched, not a pointer, so don't try to
dereference its address as a kernel address.
2012-11-13 14:09:58 +00:00
mbalmer
022a461990 It's Henry _Morton_ Stanley and Dr. Livingston_e_. Unfortunately. they did
not meet at an airport.
2012-11-11 20:25:19 +00:00
sjg
15b27c94a1 Add a unit-test for .ORDER 2012-11-09 19:08:28 +00:00
sjg
d6f9abca71 Do not stop looking for children, just because one has a .ORDER dependency. 2012-11-09 18:53:05 +00:00
apb
cd19fc2e6a Reorganise, consolidate duplicated information, clarify wording,
attempt to make the man page match the actual behaviour.
2012-11-04 10:10:03 +00:00
christos
2ce34034e0 off-by-one 2012-11-03 13:59:27 +00:00
christos
babae7a2a2 PR/47155: Eitan Adler: add mktemp zero arguments extension 2012-11-03 13:34:08 +00:00
pgoyette
4d44b16846 Fix build break due to signed/unsigned comparison 2012-11-03 04:51:17 +00:00
sjg
484532a973 Allow cond_state[] to grow.
The need is rare, but real.

Reviewed by: christos
2012-11-03 02:25:13 +00:00
wiz
e516fe9873 Separate SEE ALSO entries with comma. 2012-11-03 00:50:04 +00:00
christos
2e03ba1139 - better usage messages
- verbose can be local
- add static
2012-11-02 17:03:16 +00:00
christos
efb508ca11 cross reference flock(1) 2012-11-02 16:47:42 +00:00
christos
4050c976c3 cross reference shlock(1) 2012-11-02 16:32:35 +00:00
christos
12019f2b8a we don't truncate seconds anymore. 2012-11-02 12:47:57 +00:00
christos
9abb2d20bd - use modern timer functions to handler fractional wait
- add a function to print the full command line
- use sigaction so signals interrupt us
2012-11-02 12:47:23 +00:00
wiz
e7aacc4093 Use longer -c description. 2012-11-02 02:07:19 +00:00
wiz
5f8f0b4dee Sort options and their descriptions. Sync usage with man page. 2012-11-02 02:03:18 +00:00
christos
ac881fe51e treat a command without -c like an argument vector
default to exclusive lock
2012-11-02 01:30:46 +00:00
christos
1e7f0e09f1 fix usage 2012-11-01 23:34:44 +00:00
christos
dcdc302c64 Add an flock program inspired by the linux one with the same name. 2012-11-01 23:30:19 +00:00
para
9334d2fb72 fix format string 2012-10-29 16:25:25 +00:00
para
9a22f48db4 get rid of not used uvm_map flag (UVM_MAP_KMAPENT) 2012-10-29 16:00:05 +00:00
isaki
97e2545aef Fix indent and style. no functional changes. 2012-10-28 02:01:15 +00:00
isaki
afae845d58 Avoid SEGV even if audio device has no mixer features.
Fix PR/47003
2012-10-28 01:51:20 +00:00
alnsn
4d1ae9a9af Report jit'ed bpf fildes in fstat. 2012-10-27 22:38:07 +00:00
pgoyette
93d803dab3 Note that -d, -r, and -t are mutually exclusive and only the last one
is used.

While here, alphabetize the other list of r/d/t flags.
2012-10-24 02:46:25 +00:00
wiz
ee9b5a26a5 Add --date and --reference to SYNOPSIS. 2012-10-23 20:44:22 +00:00
pgoyette
8955665a05 Note that -d flag also precludes historical usage. 2012-10-22 22:59:33 +00:00
christos
730c385f2b Recognize --date and --reference like gnu. 2012-10-22 21:51:58 +00:00
christos
de5e815cfc don't check for i and use j. 2012-10-21 22:18:16 +00:00
christos
1db8a1b54a PR/47098: Steffen "Daode" Nurpmeso: mail(1): SEGV with bad globbed file argument 2012-10-21 01:11:23 +00:00
christos
0575918243 consistently use warn 2012-10-21 01:10:22 +00:00
msaitoh
79efc68e80 Add -t flag. 2012-10-19 20:46:06 +00:00
msaitoh
c370a471ff Add note about -l option. Fixes PR#47085 reported by Julian Fagir. 2012-10-19 20:43:31 +00:00
msaitoh
fe467d4df9 Line up total numbers again (for -b case and -X case). 2012-10-19 19:50:19 +00:00
christos
0d87ef641d print major device numbers symbolically from kinfo_drivers 2012-10-19 02:49:52 +00:00
christos
902a40f133 more info for unix sockets. XXX: chroot handling 2012-10-19 02:11:25 +00:00
jnemeth
c8dac53719 note NetBSD 6.0 release 2012-10-17 18:30:33 +00:00
christos
83d4b28a8e PR/47068: unifdef(1) with cpp directive on last line without newline
Remove bogus test; if there is no newline, the state does not change.
2012-10-13 18:26:03 +00:00
njoly
bee4003ac7 Remove a few unneeded Pp macros. 2012-10-13 14:18:16 +00:00
christos
4f166942a1 It is Sprite, not Sprint; pointed out by Todd Miller. 2012-10-08 15:09:48 +00:00
sjg
0afab3de7c Treat empty commands same as jobs mode 2012-10-07 19:17:31 +00:00
dholland
1ebcbda526 Improve previous change with better wording. 2012-10-04 19:28:36 +00:00
wiz
fde0458761 - In the example for `-f', reference a directory that is actually
available in a default installation (/usr/src isn't);
- put together two lines which belong to the same sentence;
- remove a spurious space character;
- remove unneeded consecutive argument for `.Nm' macro.

From Bug Hunting.
2012-10-03 19:35:08 +00:00
abs
070a35df41 "i.e." -> "i.e.," - from Snader_LB on IRC 2012-10-02 14:15:04 +00:00
christos
8e13556964 fix non-numeric address and port printing. 2012-09-26 23:01:04 +00:00
joerg
4edfbdbb40 Simplify the BDZ compression function, making it smaller at the same
time. Fixes a bug where non-minimal hash functions could be created.
Add regression tests for BDZ, including the map output functionality.
2012-09-25 20:53:46 +00:00
pgoyette
000a3dc38f Sort -h option properly (not between -I and -i)
XXX Should the date be updated?
2012-09-25 14:16:27 +00:00
christos
6010f05a86 spelling 2012-09-17 02:10:46 +00:00
sjg
cf6e63e419 Document the fact that lack of shell meta chars in a command
results in direct exec in compat mode.
2012-09-17 01:23:45 +00:00
joerg
ed602fb487 Don't use const foo const as type, one const is enough. 2012-09-13 21:44:49 +00:00
simonb
809c33aadd Use getc instead of fgetc.
This is approximately five times faster for "comm -23 a b" where a and b
are identical 100MB files.
2012-09-05 04:01:23 +00:00
sjg
ea86d17992 Cast sizeof() to int, which is sufficent and consistent with other use
within make.
2012-08-31 07:00:36 +00:00
pgoyette
4e59942717 Cast sizeof() to (ssize_t) to avoid build errors. 2012-08-31 02:59:37 +00:00
christos
fbb3db86f7 Don't support sysctl for the tools version of config. It is too complicated
to do so, and config -x is not used during the build.
2012-08-31 01:23:49 +00:00
wiz
d5a95690ed Add an s. 2012-08-30 22:35:37 +00:00
sjg
aede2a76f4 Add a knob to control whether -V fully expands a plain variable by default.
The default retains the traditional NetBSD behavior, but the knob
can be set so that FreeBSD can retain their expected behavior.
This is a compromise to be sure.

Add a debug flag -dV to override the above, so that regardless of
the knob setting, the raw value of a variable can be easily seen.
2012-08-30 22:09:58 +00:00
sjg
170700dd50 Add a knob to control whether -V fully expands a plain variable by default.
The default retains the traditional NetBSD behavior, but the knob
can be set so that FreeBSD can retain their expected behavior.
This is a compromise to be sure.

Add a debug flag -dV to override the above, so that regardless of
the knob setting, the raw value of a variable can be easily seen.
2012-08-30 21:17:05 +00:00
wiz
686e48a4a3 Use more markup. Wording. 2012-08-30 12:42:41 +00:00
christos
c9ffe47f54 bump date. 2012-08-30 12:32:07 +00:00
christos
8aaed51273 make config -x look at the booted kernel first. 2012-08-30 12:31:25 +00:00
jmmv
cdcce7d462 Add a new "-P prefix" option to mkdep(1).
This option prepends the string given in prefix to every target
filename.  This is useful for programs that have source files in
multiple subdirectories and a single Makefile that references all of
them explicitly (without using the VPATH functionality because there
can be files with the same name in each subdirectory).
2012-08-26 22:37:19 +00:00
wiz
30cf30e561 Make order of words in comment consistent with that within other
comments (helps with search actions).

Patch from Bug Hunting.
2012-08-26 14:26:37 +00:00
wiz
87cd44cb03 - improve spelling;
- improve wording;
- complement list of primaries that prevent `-print' from being
  used implicitly;
- bump date.

Patch from Bug Hunting.
2012-08-26 14:26:07 +00:00
wiz
5559f4329b - synchronize `usage' message with man page.
Patch from Bug Hunting.
2012-08-26 14:14:16 +00:00
wiz
c33cd716b3 - improve punctuation;
- improve wording (explicitly mention the name of the optional
  additional arguments within the text, using macros as well);
- create separate section, and use `.Ex' macro, for exit status
  information;
- bump date.

Patch from Bug Hunting.
2012-08-26 14:13:50 +00:00
wiz
fcb39fb954 Various improvements:
- remove redundant mentioning of option names within their description;
- improve (and make consistent) punctuation;
- add missing empty line;
- remove superfluous white space;
- extend `-iname' primary description (copying text from `-name');
- general wording improvements;
- improve macro usage;
- remove double spaces from examples (it's readable well without);
- reference re_format(7) in `SEE ALSO' (as it's mentioned in the
  text several times);
- bump date.

From Bug Hunting.
2012-08-16 13:34:10 +00:00
joerg
9edf9a0457 Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
2012-08-10 12:10:27 +00:00
christos
2be2cb6bfb exclude programs for MKRUMP = no 2012-08-08 14:13:46 +00:00
christos
7dd78711cb fix bogus test. 2012-08-04 15:50:16 +00:00
ginsbach
fc9b30fdd2 - Fix optional argument options (e, i, n, s) in SYNOPSIS and DESCRIPTION
+ First three take two optional arguments
  + All require no space between option and optional argument(s)
  + Make sure that -e and -i similarly describe optional [char] and [gap]
2012-08-01 02:36:17 +00:00
ginsbach
9b02928106 Minor tweaks to usage:
- Sort options to match pr(1) SYNOPSIS (suggested by wiz)
- Add missing -T timefmt option
2012-08-01 02:27:48 +00:00
wiz
f5baaa3a80 Fix error in SYNOPSIS, sort. 2012-07-27 20:49:48 +00:00