Commit Graph

5159 Commits

Author SHA1 Message Date
lukem 1608f561f2 after consideration, don't bother with compat symlinks, as it might
cause end-user confusion if the syntax changed between
/usr/mdec/installboot and /usr/sbin/installboot
2002-04-23 02:39:33 +00:00
bjh21 1723b1333c When printf'ing a size_t, cast it to unsigned long and use a %lu format.
This gets rid of a warning when compiling for ARM.
2002-04-22 23:24:10 +00:00
bjh21 a3e433c6fa include <bsd.own.mk> for _SRC_TOP_ 2002-04-22 23:23:05 +00:00
fredette 7493ba97a6 Install the compatability symlink for sun2.
In the sun68k handler, add some sync()s to make sure we
get a coherent picture of the filesystem.  Maybe should
be in the MI filesystem code?
2002-04-22 21:11:45 +00:00
lukem 878d42b158 Add sun2 backend from Matthew Fredette.
(Implemented with "sun68k.c" as it should eventually support "sun3" as well.)
2002-04-22 17:17:35 +00:00
lukem ed5fff8877 formatting consistency frobs 2002-04-22 16:03:07 +00:00
wiz 554a5b8a3a Don't default the portname to devices that don't exist on NetBSD. 2002-04-22 13:08:34 +00:00
lukem 8eb8919e12 - Add code from Matt Fredette <fredette@theory.lcs.mit.edu> to implement
fstype checking, and back-end "ffs" support.
- Consistently use at least uint32_t for blocknumbers (vs. int / long / ...)
- Consistently use uintXX_t instead of u_intXX_t.
- Move various duplicated prototypes into "installboot.h"
2002-04-19 07:08:51 +00:00
drochner a6d922db91 pass correct usedevicename to telephony record/answer scripts 2002-04-17 15:27:15 +00:00
drochner 1b7bad835c fix the check for invalid usrdevicename 2002-04-17 15:26:13 +00:00
fredette 4897886acb Small fix to a warning message that was displaying the wrong filename. 2002-04-17 04:00:44 +00:00
msaitoh 959914993f fix a check of the cpu types from __sh3__ to __sh__ 2002-04-16 18:36:08 +00:00
drochner e4a8393a6b initialize a global pointer before re-reading the config file,
otherwise we'd take free()d memory as configuration data
2002-04-16 17:07:58 +00:00
wiz d62f6fdd66 this: singular, these: plural. 2002-04-16 07:28:09 +00:00
martin d200477ffe Yet another nit pick. 2002-04-16 06:11:39 +00:00
tron 0f55b8bb08 Use vfork(2) and exec(2) instead of system for performance and security
reasons.
2002-04-15 21:08:41 +00:00
tron 7b03e17cb9 Don't invoke the up- and down-script for link local IPv6 addresses. 2002-04-15 20:42:37 +00:00
martin cd924e0a08 nit pick. 2002-04-15 18:08:22 +00:00
tron c28d45defe Invoke "ip-up" and "ip-down" script with parameters exactly matching
those used by pppd(8).
2002-04-15 17:32:18 +00:00
martin 573dfcd430 Fix copyright notice, sprinkle some $NetBSD$. 2002-04-14 11:41:42 +00:00
lukem d280442683 - support optional secondary bootstrap arg for install (unused by
existing backends, but future ones need it)
- use "bootstrap" instead of "boot block" in various messages where appropriate
- rename some members of ib_params
2002-04-12 06:50:41 +00:00
lukem 050f6eec3e run fsync on the fsfd before closing 2002-04-12 03:15:20 +00:00
wiz b9337deef4 ispell, and grammar fixes. 2002-04-11 12:34:31 +00:00
lukem aa5396b0ec check size of reading bootblock against the correct size... 2002-04-11 08:02:27 +00:00
lukem 38cd7942e5 - add no_parseopt(), no_setboot() and no_clearboot() methods for back-ends
to use when they don't support a particular method
- don't automatically generate machines.c anymore
- add entries for i386 (temporarily unsupported) and shark
  (permanently unsupported)
2002-04-11 07:56:13 +00:00
martin 81bc5473a1 Fix a stupid bug when setting authentication for multiple PPP interfaces.
Add some magic to UP/DOWN interface using ISDN on startup/exit and a
configuration entry (autoupdown=yes/no) to prevent this.
2002-04-10 23:35:07 +00:00
enami c7fb252eba - Don't assume that /usr is available. Fixes (one of?) ``fgrep: not found''.
- Don't append ``dot'' when restoring resovl.conf.
2002-04-10 10:11:41 +00:00
bjh21 dd9c5ed338 Don't use __RCSID unless it's defined. 2002-04-09 19:17:11 +00:00
jdolecek 7ddad9fe53 ignore potential error return from rm -rf results
this fixes part of misc/16227 by Stoned Elipot
2002-04-09 17:17:24 +00:00
thorpej a819d2296f Use __RCSID() and __COPYRIGHT(). 2002-04-09 02:56:17 +00:00
thorpej 2597d53f5a Use __RCSID(). 2002-04-09 02:35:31 +00:00
thorpej 2e5904a52c Need <string.h> for memcmp(). 2002-04-09 02:06:29 +00:00
ad 4cb07f9024 Sync the firmware version report with mlx.c. Addresses PR 14155. 2002-04-07 20:18:01 +00:00
ad b55ddcdfc4 Fix -a: correctly verify which disks belong to the current controller, and
print a more informative message if we don't find any. Addresses part of
(already closed) PR 14086.
2002-04-07 20:02:18 +00:00
bjh21 8a4f44d684 Install the compat symlink into ${DESTDIR}. 2002-04-06 15:27:55 +00:00
bjh21 de69a8cbe5 Don't install the compat symlink if this is a HOSTPROG. 2002-04-06 13:59:12 +00:00
dsainty 6533347de2 Fix trivial typo 2002-04-06 03:17:47 +00:00
martin 1ec36d3e93 Allow configuration entries that don't hardcode a specific BRI.
Fixes PR 15919 by Matthias Scheler.
2002-04-05 15:26:59 +00:00
lukem c81588447f Add framework for adding compat symlink from /usr/mdec/installboot ->
/usr/sbin/installboot.
Enable pmax.
2002-04-04 23:01:38 +00:00
lukem 6f15862d50 enable installboot, since it's now useful for at least a couple of ports 2002-04-04 22:07:35 +00:00
bjh21 33ce139ee0 Pull in config.h as necessary to get byte-order macros etc. 2002-04-04 17:53:04 +00:00
mrg 4cf62149f5 be sure to pad the bootblock. 2002-04-04 15:36:44 +00:00
mrg 96adf034f8 clean up a bit, use fewer magic numbers. 2002-04-04 15:17:34 +00:00
mrg 5b7f1cce2d LP64isms. also, be sure to use <string.h> if we use memset or memcpy. 2002-04-04 14:00:55 +00:00
lukem 67c2e40115 Add sparc64 back-end, contributed by Matthew Green. 2002-04-04 13:45:25 +00:00
wiz 3b288fe0ef Mostly typo fixes, some formatting nits. 2002-04-04 11:06:47 +00:00
lukem 9c89a064fd -n and -v are optional ... 2002-04-04 07:27:44 +00:00
lukem c1455b1b9a update description, history, authors, examples, bugs,
including pmax specific stuff
2002-04-04 07:24:55 +00:00
simonb d024fa98e3 Include <limits.h> to explicitly get LONG_MAX. 2002-04-04 03:27:53 +00:00
lukem 9f1d1d933d don't pull in <dev/sun/disklabel.h> just for SUN_DKMAGIC; instead,
provide local copy of that #define.
2002-04-04 00:32:06 +00:00