Commit Graph

122081 Commits

Author SHA1 Message Date
wiz ef0d4ed8a0 Document new flags to MAKEDEV script. 2003-12-21 18:02:06 +00:00
lukem fcdfdbba5c Rework MAKEDEV:
*	Use "mknod -F netbsd -r" to create nodes, instead of
	"rm ; mknod; chmod; chown".
	This means permissions & ownership of existing nodes will
	not be changed.
	This is up to 30% faster when populating an empty /dev,
	and nearly 2x faster when re-running on an existing /dev.

    *	New options:
    	-f		force change of permission & ownership of existing
			devices
    	-m mknod	override name/path of mknod program
			(which defaults to $TOOL_MKNOD, then "mknod").
	-s		generate mtree(8) specfile instead of creating devices

    *	Remove /usr/etc from $PATH; not needed anymore.

    *	Provide functions to create devices & directories:
	    mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
		create device node `name' with the appropriate permissions
	    lndev src target
		create a symlink from src to target
	    makedir dir mode
		create directory with appropriate mode

    *	UIDs and GIDs are hardcoded in at MAKEDEV generation time.
	(Unfortunately there's not a simple way of determining a GID
	a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
2003-12-21 17:37:26 +00:00
lukem 9e396f0ea9 don't change umask without setting it back to 77; it has unwanted side effects 2003-12-21 17:18:08 +00:00
lukem f10d9367cc also rm & chmod dtyC$unit 2003-12-21 16:27:34 +00:00
lukem 6ab1279223 fix mms\* 2003-12-21 16:17:19 +00:00
oster ad00b9c9b0 Since the 5th arg of pool_init() wasn't actually the number
of items with which to prime the pool, we now prime each
pool using pool_prime().
2003-12-21 15:56:20 +00:00
lukem cb8a9610e0 be consistent in fss* 2003-12-21 15:32:59 +00:00
manu ebbd46991b clock_sleep was 10 times too fast because of a wrong constant. 2003-12-21 14:44:43 +00:00
mrg dcb198e155 for sparc64:
CPPFLAGS.sunGX.c=               -Wno-error
2003-12-21 13:07:50 +00:00
mrg a7b8bfbf90 for sparc64:
CPPFLAGS.fbbltone.c=    -Wno-error
2003-12-21 13:07:01 +00:00
agc c34d438f6c Note addition of bpm(1). 2003-12-21 12:50:45 +00:00
simonb 16846040d7 Remove trailing blank line. 2003-12-21 11:54:16 +00:00
wiz d707a66aa2 Sort options; drop trailing spaces; fix wording of
a sentence.
2003-12-21 11:39:17 +00:00
simonb 2b9ac03f55 No need to break a line - the full line is less than 80 chars long. 2003-12-21 11:38:46 +00:00
agc de6e8baef1 Add bpm and its manual page. 2003-12-21 11:35:36 +00:00
agc 2bd28cbd5e Add a simple text menu-based binary package manager, bpm(1).
bpm uses ftp(1) and pkg_add(1) to allow a menu-based addition of
binary packages from a URL.  It first displays a list of categories,
and, within categories, binary packages, which can be added to the
local system simply by choosing them from a menu.

If no valid categories are found, a warning message will be displayed
(it is usually caused by people running NetBSD-current, and there are
rarely binary packages provided for such a fast-moving target, and the
"-r release" command-line switch to bpm(1) should be used).

Bump the pkg_install version number for this.
2003-12-21 11:31:46 +00:00
wiz 00c8cf496c Add some articles. 2003-12-21 11:18:25 +00:00
wiz 4eb81d63b4 Fix example added in previous. 2003-12-21 11:16:23 +00:00
rtr f7c5e08a26 GLcoremodule.c is used for module only. 2003-12-21 11:12:32 +00:00
kochi 392db58804 correct handling of _SI.SST method as it is described in ACPI spec. 2003-12-21 10:27:23 +00:00
jdolecek 83f8b02df2 add a note explaining empty string matching via :
this adresses bin/23810 by VaX#n8

bump date and update copyright
2003-12-21 10:02:46 +00:00
jdolecek 9927abce5e add a note to Short-Circuit operators section about the somewhat
nonintuitive evaluation in case there is both || and && specified
pointed out in bin/23814 by VaX#n8
2003-12-21 08:40:29 +00:00
jdolecek 30651d6b04 minor optimization in evalvar()
change sent in bin/23813 by VaX#n8
2003-12-21 08:32:39 +00:00
nisimura eef6d5b9ab Vr4100 and Vr4300 are not capable of having external caches. 2003-12-21 07:59:25 +00:00
simonb 740725d725 Fix usage of fifth argument to pool_init(). 2003-12-21 07:53:58 +00:00
kochi 503ef186e1 Make ACPI interpreter a bit permissive:
* emulate ReturnOp where expected but not existing
     (which is found in some buggy firmwares)
from FreeBSD's local changes
2003-12-21 07:53:57 +00:00
kochi 2bd0af644b Give up unresponding hardware when entering sleep state.
from FreeBSD's local changes.
2003-12-21 07:51:18 +00:00
kochi d4eea31ad8 Make ACPI interpreter a bit permissive:
* allow access beyond limit of a region
     (which is found in some buggy firmwares)
from FreeBSD's local changes
2003-12-21 07:50:26 +00:00
simonb 5a2890def3 Dump date for previous. 2003-12-21 07:42:11 +00:00
simonb aabfbedffd Note that the fifth argument to pool_init() is "flags" and not "nitems". 2003-12-21 07:35:37 +00:00
mrg 416b3a63d6 do not link xmalloc.c or xexit.c. 2003-12-21 07:05:25 +00:00
uwe e769028e50 Fix indentation in previous. 2003-12-21 03:22:20 +00:00
uwe f94c4399a5 Move progress bar management to rootwindow.cpp so that hpcmenu.cpp
doesn't need to know about the GUI hierarchy, etc.

If boot is aborted, rewind the progress bar.
2003-12-21 03:18:31 +00:00
rtr 12c87cdca3 Separate loadable modules
Don't build or install modules for non-loadable xservers
2003-12-21 03:07:01 +00:00
mrg 61b5ab403f bump date for previous 2003-12-21 02:52:02 +00:00
kleink 4bd5e026a4 Update to keep file lengths in appropriate data types (off_t, as opposed
to u_int32_t).
2003-12-20 23:41:38 +00:00
jdolecek 1895548280 comment out COMPAT_NETBSD32 - it doesn't compile, some required
datatypes are not defined
2003-12-20 22:12:21 +00:00
wiz a06c2d418f Use In instead of Fd #include <...>; reword a sentence so
it is easier to read.
2003-12-20 21:49:31 +00:00
wiz 910ab17bad Drop trailing spaces. 2003-12-20 21:39:21 +00:00
wiz f90dc638c2 Fix Xref; from Jeff Rizzo in PR 23807. 2003-12-20 21:38:54 +00:00
lha d60f9cb5a8 Add opencrypto.9 manpage, manpage copied from OpenBSD (Angelos D. Keromytis)
Some text added me (and thus all errors in the manpage are mine)
2003-12-20 20:25:28 +00:00
lha 43ac17e0cf Extend SMART status to print temperature. Add support for printing
selftest log (but no code it start selftest yet).
2003-12-20 20:03:20 +00:00
lha 56a919527c add more fields to ata_smart_attr, add structures for selftest log 2003-12-20 19:53:54 +00:00
lha b8fd6b90c7 add SMART Read Log constant 2003-12-20 19:45:52 +00:00
manu 066436a916 Provide a kernel port for each thread. This makes the emulation of
Mach threads much more accurate: we do not confuse threads and tasks
anymore.
2003-12-20 19:43:17 +00:00
fvdl d99705e941 Put back Emmanuel's sigfilter hooks, as decided by Core. 2003-12-20 19:01:29 +00:00
manu b23b73b953 Introduce lwp_emuldata and the associated hooks. No hook is provided for the
exec case, as the emulation already has the ability to intercept that
with the e_proc_exec hook. It is the responsability of the emulation to
take appropriaye action about lwp_emuldata in e_proc_exec.

Patch reviewed by Christos.
2003-12-20 18:22:16 +00:00
fredb 8f443ee26a Don't bother complaining about "no IPv6 interfaces" or "no IPv4 interfaces"
unless debugging is compiled in and enabled. Adapted from ntp-dev. Closes
PR bin/23703, by Martin Husemann.
2003-12-20 17:38:19 +00:00
dsl 5a8b5dea23 Don't require '.' in PATH for sets.default 2003-12-20 17:08:32 +00:00
jdolecek 0eb4701e8f don't enumerate individual minor number cases in mmioctl(), handle all
as single 'default' case
adresses part of port-arm/23581 by Richard Earnshaw
2003-12-20 16:22:14 +00:00