christos
9dd592469e
Avoid code duplication by factoring out the open/map open/write/unmap functions.
2003-07-01 16:44:48 +00:00
lukem
b96069c077
Always compile in support for attempting to obtain the major device
...
number of the console from sysctl("machdep.console_device"), rather
than making in optional on the (unused) #ifdef DEBUG.
Certain platforms do not have the console at makedev(0,0) (including
many arm32 and some sh3 platforms), so the "mfs MAKEDEV" hack would
have failed on those.
Noted in private discussion with Quentin Barnes.
2003-07-01 15:24:22 +00:00
itojun
5af08a4965
more error traps on malloc failure. accept "-E null".
...
various pedantic checks. from kame
2003-07-01 07:20:12 +00:00
simonb
775170c02f
Line up the cylinder numbers in the printlabel output a bit better.
2003-07-01 05:40:54 +00:00
wiz
52270a7fd9
Add Ns.
2003-06-30 11:49:54 +00:00
wiz
9f3dc3febc
Remove unnecessary space before dot.
2003-06-30 11:48:05 +00:00
wiz
d6967e3b9b
Quote punctuation so it gets marked up.
2003-06-30 10:46:22 +00:00
wiz
217ca657dd
Quote macro candidate.
2003-06-27 23:23:51 +00:00
wiz
6dd6d12d66
Add Ns.
2003-06-27 23:06:50 +00:00
wiz
8a0999a756
Remove superfluous "".
2003-06-27 23:02:16 +00:00
agc
c2a3b5ec84
Add NetBSD RCS Ids.
2003-06-23 11:53:35 +00:00
simonb
7eb2ec40b2
Remove the KERN_DRIVERS case handler (prototype code?).
2003-06-17 03:34:23 +00:00
dsl
f8f6959024
Print hw.cnmagic as escaped hex bytes (unless -n given).
...
Change 'special' to be a numeral not a bit, it isn't ever used as a bit
and I can't see why it should ever be used that way.
2003-06-16 21:52:58 +00:00
christos
dffc5f5133
PR/21860: Robert Elz: ifconfig doesn't allow addr/N notation for INET6
2003-06-11 19:51:31 +00:00
christos
072bca2c13
PR/21856: Robert Elz: Changes to route(8) to allow /n instead of -prefixlen
...
for INET6
2003-06-11 15:45:20 +00:00
dsl
ee0a07c072
Make writes to the in-core label persist after mbrlabel closes the disk.
2003-06-07 10:03:39 +00:00
cjep
100bffb736
Fix typo. Noted by Sean Boudreau on tech-net.
2003-06-06 14:18:40 +00:00
joda
e5986b088f
add missing . before Fl
2003-06-03 12:35:54 +00:00
itojun
627957eb53
permit foo/bar notation, like "route add 10.0.0.0/8 127.0.0.1".
...
originally by provos
2003-06-03 04:41:42 +00:00
thorpej
56962fed64
Avoid a strict-alias warning in gcc 3.3.
2003-05-31 23:42:23 +00:00
itojun
1fc7a4943e
correct bad RFC ref. KAME problem report 480
2003-05-27 02:37:24 +00:00
lukem
9014bdbce6
* Document $RCMD_CMD in environ(7).
...
* Cross-reference rcmd(1), rcmd(3), and environ(7) as appropriate.
Should fix [bin/21670] from Geoff Wing.
2003-05-26 10:18:39 +00:00
lukem
35c2bddeea
If RESCUEDIR is defined, use that as an alternate path to sh and mount_mfs,
...
and prepend RESCUEDIR to the default PATH.
(This replaces my _PATH_ALTSHELL mods from rev 1.52 of init.c)
2003-05-26 09:34:55 +00:00
itojun
eb44a81d7f
permit scoped addr notation in policy string (-P esp/tunnel/foo%scope-bar%scope/use). from francis dupont. sync w/kame
2003-05-22 04:01:49 +00:00
wiz
15e9ee5dc8
Add some missing words (like articles), remove duplicate word; fix some nits. From jmc@openbsd.
2003-05-20 10:18:50 +00:00
itojun
f5878476d9
simplify by strlcpy
2003-05-18 02:11:13 +00:00
itojun
8138cbd1bf
simplify more
2003-05-18 02:07:20 +00:00
itojun
ebf587df1a
simplify by strlcpy/cat
2003-05-18 02:06:28 +00:00
itojun
262bdee727
do not hardcode buffer size
2003-05-17 23:16:47 +00:00
itojun
00868410fd
asprintf is easier
2003-05-17 23:14:42 +00:00
itojun
604ac268ac
use snprintf
2003-05-17 23:10:57 +00:00
itojun
fe09a0efcb
use strlcpy
2003-05-17 23:03:28 +00:00
itojun
9cbeabfe77
strlcpy [a few mistakes found]
2003-05-17 23:02:28 +00:00
itojun
aa5672d8c5
sscanf overrun
2003-05-17 01:02:01 +00:00
lukem
3b7c75cfba
Change -b from skipping POINTTOPOINT|LOOPBACK to skipping ! BROADCAST.
...
Fixes my [bin/21604]
2003-05-17 00:48:13 +00:00
yamt
a1d2fd4ed9
fix a typo that prevents -o wsize=nnn to work.
2003-05-16 15:33:45 +00:00
itojun
68452c0c92
assume presense of getifaddrs(3).
2003-05-15 14:44:57 +00:00
wiz
d43e332f1e
setup -> set up.
2003-05-14 12:11:03 +00:00
dsl
b081987b73
delete a diagnostic printf that was accidentally left in
2003-05-14 11:24:05 +00:00
jmc
c9bb642d58
Fix typo
2003-05-09 23:05:53 +00:00
wiz
8cf282a707
Use .Nm instead of .Xr mknod, and sort options in HISTORY (incl. mdoc and grammar nit fixes).
2003-05-09 09:15:20 +00:00
petrov
552633af59
Fix format string. (no % in PRIx..).
2003-05-08 18:39:09 +00:00
christos
0c737a5345
/sbin/wizd points out that it is CYGWIN not GYGWIN.
2003-05-08 14:47:19 +00:00
christos
96618476db
deal with cygwin's dev_t (John Gordon)
2003-05-08 13:29:39 +00:00
lukem
670700cfd8
2.0, not 1.7
2003-05-08 11:36:28 +00:00
dsl
4f32e6a229
Add -g gid -m mode -u uid so that MAKEDEV can run when chown/chmod are
...
not available.
Add -r and -R to do two (different) sensible things if node exists.
From a discussion with Lukem.
2003-05-08 11:34:19 +00:00
lukem
2ac07ea296
Move major_netbsd(), minor_netbsd(), and makedev_netbsd() from
...
pack_dev.c to pack_dev.h, so that #include-rs of the latter can use them.
2003-05-08 09:38:03 +00:00
fair
baafa0e128
Add some mdoc macros. Add text from PR 13878, modified.
2003-05-07 05:19:44 +00:00
wiz
b6bcb58a8b
Bump date for last.
2003-05-06 08:23:57 +00:00
wiz
c94730c38a
MBR, not mbr.
2003-05-06 07:56:03 +00:00