Commit Graph

2839 Commits

Author SHA1 Message Date
gehenna
b7c0e53f09 For loadable drivers, the 3rd argument is character device major and
the 4th argument is block device major.

Remove one item from BUGS section.
2002-09-13 15:32:21 +00:00
gehenna
a5ac3deb40 Split the overload block/character device major.
The 3rd argument is character device major and
the 4th argument is block device major.
2002-09-13 15:30:36 +00:00
enami
eb0197ee71 Fix unbalanced paren. 2002-09-09 03:01:26 +00:00
itojun
4df4d0a437 ansi pedantic. sync w/kame 2002-09-08 14:31:41 +00:00
thorpej
0683880e19 * Add "getcache" and "setcache" commands to get/set basic cache
parameters (enables, really).
* Fix an error in the manpage.
* Shuffle some code to group things together better.
2002-09-03 16:56:05 +00:00
martin
2a2b8d06ad Fix usage(). Noticed by itojun. 2002-09-01 11:28:07 +00:00
wiz
23e291b03a Grammar improvement. 2002-09-01 09:44:58 +00:00
martin
470a3cfc76 Add a "clear-auth-failure" command to reset the authentication failure
count without changing any (local) authentication settings.

Fixes kern/18071 ( without any kernel change ;-) )
2002-09-01 09:42:05 +00:00
taca
41ce843fd8 Remove extra tab in really an empty line. 2002-09-01 08:10:53 +00:00
ross
8473dbb8b4 xref ifconfig.if(5) 2002-09-01 03:05:34 +00:00
perseant
d484b67904 Don't use adaptive measuring techniques to discover a good segment size,
if the device is not a character device (they will give bogus results
if they interact with the buffer cache).
2002-08-29 19:51:58 +00:00
lukem
ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
    in <bsd.own.mk>:
	SHLIBDIR?=     /lib
	SHLINKDIR?=	/lib
    in various Makefiles, the following entry is DISABLED.
	LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
lukem
6aeb2c119f if RESCUEDIR is defined, use ${RESCUEDIR}/sh as _PATH_ALTSHELL 2002-08-24 01:05:14 +00:00
lukem
9f3703ab9a - use _PATH_ALTSHELL (which defaults to _PATH_BSHELL) as the default ALTSHELL
(as opposed to _PATH_BSHELL), to allow the ALTSHELL to be changed.
- print the full path to the default shell in the ALTSHELL prompt.
2002-08-24 01:02:51 +00:00
lukem
a14ac7834b now that we have working rescue tools, there's no need to force
LDSTATIC=-static for init(8) on people who want LDSTATIC=""
2002-08-24 01:00:18 +00:00
lukem
f8df88f111 if RESCUEDIR is defined, set _PATH_RESCUE to that 2002-08-23 03:19:07 +00:00
lukem
8f87d6469c if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN 2002-08-23 03:17:18 +00:00
dbj
6c9aa83c79 remove workaround for missing errno.h include 2002-08-22 22:38:05 +00:00
wiz
2ae3428010 Drop superfluous Ns. 2002-08-20 16:07:45 +00:00
wiz
803f71d406 Sort supported languages, and sync them with reality, as suggested by
Julio Merino in bin/17993, with a minor correction.
2002-08-19 18:27:31 +00:00
lukem
7360d7b6ae Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 10:16:51 +00:00
enami
43fe370014 Fix an argument to -width option of .Bl macro. 2002-08-19 01:54:58 +00:00
gmcgarry
a104b7da81 Type 'network' was an alias for 'net' and was changed to "net" in
rev 1.5.  Remove duplicate.  Reported by Christian Biere in PR17976.
2002-08-18 23:45:48 +00:00
yamt
41d3da5939 save/restore errno in signal handlers. 2002-08-18 08:03:35 +00:00
itojun
27dfc9236f style (tab around $NetBSD$) 2002-08-16 23:54:52 +00:00
itojun
2abe377059 defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev.  revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
soren
1f8cf74815 Typo. 2002-08-15 19:17:04 +00:00
mycroft
b916651e58 Correct the check for whether SMART is enabled. 2002-08-15 18:57:51 +00:00
matt
0228ca2671 Add support for printing out messages about missing packet gaps. This is
done with the -v switch.  If -q is also given with -v, then only the
packet gap messages will be printed along with summary after each gap
message.
2002-08-12 18:24:53 +00:00
itojun
dbf388bc4f calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
itojun
e93a4e6b0f bitmask operation mistake audit (s/&&/&/). from openbsd 2002-08-08 15:10:51 +00:00
soren
236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
soren
26bc587db9 Clean up printf->err conversions. 2002-08-08 13:19:18 +00:00
jwise
ad8bd5db78 Fix mandoc glitch in description of `eui64' command. 2002-08-06 19:29:35 +00:00
soren
1cbfe6af00 Print symbolic names for SMART STATUS attributes. 2002-08-06 01:16:56 +00:00
wiz
7553d4030f Ispell. Drop .Pp before .Sh. 2002-08-06 00:44:36 +00:00
soren
1cc6ec32e5 s/smart info/smart status/ to better fit in with the standard's feature set. 2002-08-06 00:00:21 +00:00
soren
9e129fde67 Add ATA SMART reporting support from Ben Collver in kern/12787. 2002-08-05 23:29:27 +00:00
ross
08c3bcd192 shut up assembler warnings 2002-08-04 20:29:44 +00:00
ross
626a25bc13 deal with assembler warnings 2002-08-04 20:27:22 +00:00
wiz
42ec3bd114 Support wtmpx. 2002-08-02 15:05:57 +00:00
wiz
d9deaad608 de__P(), ANSIfy. 2002-08-02 14:59:40 +00:00
christos
0f38e42a7a fix typos that prevented us from cleaning utmpx. Noted by wiz 2002-08-02 14:03:22 +00:00
scw
451eb422ae Fix dump_lfs build following recent utmp changes. 2002-08-02 12:29:36 +00:00
simonb
8cd68a2ff9 Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're
using the default BINMODE.
2002-08-02 03:58:09 +00:00
christos
8e5a0987a4 support utmpx 2002-08-02 02:07:09 +00:00
itojun
f104c36660 u_short cleansing (use u_int16_t where appropriate) 2002-08-01 08:56:59 +00:00
wiz
92b80e91d7 Format the path to a file with .Pa. 2002-07-29 21:08:30 +00:00
thorpej
1384fef106 Note that not all watchdog timers can be disarmed once armed, and that
when such a case is encountered, an error message will be displayed and
the timer will remain armed if an attempt to disarm it is made.
2002-07-29 21:00:15 +00:00
manu
3966af389b Enable USE_MBR for all arm ports. 2002-07-28 15:17:38 +00:00