Commit Graph

45260 Commits

Author SHA1 Message Date
jonathan 8b4f18eb50 Pull up change from arm32 version: only copy disktab.preinstall if not DEBUG.
Pull up rev 1.3 from arch/sparc/md.c version:
    add a "ta=4.2BSD" to disktab. fixing choosing X sets to install.
1998-11-08 02:06:27 +00:00
jonathan bdc004ebc2 Fix lossage from overly-aggressie undoing of i386 'd' partition lossage:
alpha, sparc, ppc md.c files had disktab string ":sd#.." to save
disklabel sector-size, when they really need ":se#..."
(Can now make this MI.)
1998-11-08 01:45:45 +00:00
jonathan 9fe4d42638 Set otherwise-unused global variable `disksectors' to disklabel.d_secperunit.
Change   fdisk -S to  emit disksectors as DLSIZE (for benefit of sysinst.)
1998-11-08 00:29:08 +00:00
hubertf ba73896f0c Fix some bugs discovered tonight when installing on a fresh 1.3.2
machine:
 - create /var/db/pkg if not there
 - fix wrong handling of findmatchingname() return code, resulting
   in missing /var/db/pkg dir being interpreted as match found
 - only move +BUILD_VERSION and +BUILD_INFO files if they're
   actually present (old pkgs don't have them!)
1998-11-07 23:16:50 +00:00
fvdl d878e9efc8 Rely on priority match to resolve conflict with the ex driver, not on
a define.
1998-11-07 23:06:26 +00:00
jonathan 82e31c8f5a Change `layout' message to explicitly say that here, partitions are
being defined in the BSD disklabel (not the MBR).
1998-11-07 22:57:37 +00:00
is ba74edf69b Fix typo. 1998-11-07 22:50:25 +00:00
is fd3b226223 We didn't really implement bus_space_{read,write}_stream_N, but
bus_space_{read,write}_region_stream_N. Correct the names.
1998-11-07 22:44:36 +00:00
jonathan 29dce06a1a Explain that this menu lets the user choose partition-size units for
either BSD disklabel partitions, or (on some ports) for MBR slices, too.

Note that ZBR disks make cyinder alignment rather academic.
1998-11-07 22:04:19 +00:00
ragge f040374f11 Support for KA820 console RX50. From 4.4, ported to NetBSD by Sergey Svishchev. 1998-11-07 20:58:09 +00:00
jonathan 1823e2d762 Add text to `whole disk'' vs `normal' menu that explains to the user
just what the hell sysinst is asking for.  (Why do we include the
`dangerously dedicated at all?)

Fix dangerous UI botch: make `normal' install the default, not `whole disk'.
1998-11-07 20:57:52 +00:00
he 7bb8e8c9d2 Include usr/share/pcvt and .../fonts directories.
Re-sort.
1998-11-07 20:18:48 +00:00
jonathan 06079cb5e7 Expand messages prompting for BIOS geometry; say explicitly that it's
the BIOS that's being asked for, and that the real geometry is for
comparison only.
1998-11-07 20:17:28 +00:00
he 14942a65a4 Bump minor for libz.so. 1998-11-07 20:12:11 +00:00
he 45b29b34a8 Add fxp(4) man page. 1998-11-07 20:10:26 +00:00
christos f4e84d3075 PR/6409: Martin Husemann: /etc/exports parsing breaks if file has empty lines. 1998-11-07 18:31:36 +00:00
jonathan 6850880028 Use Standard SVR4 ctor/dtor mechanism: emit vectors for C++ file-level
constructors/destructors in .ctor/.dtor sections, respectively.

[cf:  src/gnu/usr.bin/gcc/arch/mips/netbsd.h	rev 1.10]
1998-11-07 18:00:10 +00:00
jonathan e67b964e28 binutils gprof doesn't support mips. Build a.out gprof on mips, to support
kernel profiling.
1998-11-07 17:52:19 +00:00
drochner 1f23f4e047 add poll entry for (optional add-on) i4b raw device 1998-11-07 17:28:57 +00:00
ragge b6158fa5e3 EGCS fixes. Implement htons as a C macro instead of asm; generates as
good code as the asm implementation _and_ can be optimized.
1998-11-07 17:22:58 +00:00
he 6fbd9e0504 Fix construction of the 'sys' tarball so that compile directories
really will not be included, but compile/CVS and compile/.keep_me will
still be (if present).
1998-11-07 16:59:13 +00:00
drochner f213d2f96a use common code for extended capability (power management)
let "match" return 2 (> ep_pci)
1998-11-07 16:53:19 +00:00
drochner bbe9d71415 add support for "extended capabilities" (new in PCI spec 2.2) 1998-11-07 16:47:22 +00:00
erh 14b0d1f276 Add a checkver target to bsd.lib.mk. This target executes the checkver script to find installed shared libraries with major/minor versions that are too big. The realinstall target now depends upon this target so this check is done whenever a library is installed. The check may be disabled by setting NOCHECKVER. 1998-11-07 09:40:35 +00:00
erh 7c323c9fa8 Add scripts to find any installed libraries whose version is greater than the source version (major, minor). "checkver" actually does this check. "checkvers" find all libraries (actually all shlib_version files) below the current directory and runs the checkver script for each one. 1998-11-07 09:36:54 +00:00
jonathan 7574d9a952 Do DESTDIR support for crtbegin/crtend on all ELF ports (adds mips). 1998-11-07 07:10:19 +00:00
mrg 7c0d69c3ab minor KNF nits 1998-11-07 05:50:19 +00:00
jonathan cdd3abe7a9 Pull MBR-scanning code and NetbSD-partition-finding into a separate
function, rathe than duplicating in readdisklabel() and writedisklabel().

XXX should really  make MBR code MI, and share with other MBR-using ports
(e.g., arc, arm32 MBR label-scanning code).
1998-11-07 04:39:03 +00:00
jonathan a581370fce apply previous change to writedisklabel() as well as readdisklabel(). 1998-11-07 01:30:57 +00:00
jonathan 45aa097296 Change COMPAT_386BSD_MBRPART: don't break on match, so that if there's more
than one DOSTYP_386BSD partition, we pick the last one, not the first.
That's what our install tools do/did with multiple ID-165 partitions.
1998-11-07 01:08:00 +00:00
christos 889ce7db6e - full prototypes
- more conservative printf
- char -> unsigned char
1998-11-06 23:31:09 +00:00
christos a3cf33f0fd make printf format more conservative 1998-11-06 23:21:38 +00:00
christos 3f852e73e1 we don't need sys/ucred.h 1998-11-06 23:21:01 +00:00
christos c3203395bd char -> unsigned char 1998-11-06 23:06:38 +00:00
christos 051c69de86 disambiguate if/else block 1998-11-06 23:06:30 +00:00
cgd 515148e0a3 cast arg to dbtob to u_quad_t; consisent, and fixed size unnecessary 1998-11-06 23:03:06 +00:00
cgd af24dfc946 argument to dbtob needs to be cast to u_quad_t here to avoid shift lossage 1998-11-06 23:02:12 +00:00
christos e1178b155e - include <termios.h> for winsize
- char -> unsigned char
1998-11-06 22:59:12 +00:00
christos bd5b624c4c char -> unsigned char 1998-11-06 22:57:55 +00:00
christos 9b6b9cac77 - factor out common code
- char -> unsigned char
1998-11-06 22:56:38 +00:00
christos ac193186ef char -> unsigned char 1998-11-06 22:49:30 +00:00
christos b239b35fe2 char -> unsigned char
rindex -> strrchr
1998-11-06 22:40:13 +00:00
christos 1a67b18deb char -> unsigned char 1998-11-06 22:29:44 +00:00
christos 2de3ba714e - Don't understand why use union wait pstat.w_status...
Change it to just int status...
- char -> unsigned char
1998-11-06 22:28:15 +00:00
christos b62bb45812 - prototype tgetstr()
- add decls for *SE, *SO, *SV for svr4
- initscr() should not be compared with ERR, but NULL, since it returns
  a window pointer.
1998-11-06 22:14:58 +00:00
tron 63b722221a Sync with "GENERIC". 1998-11-06 20:29:52 +00:00
is 23c04fa375 Add color debug code for DraCos. 1998-11-06 20:08:20 +00:00
christos dbc0627f1d use waitpid instead of wait3 1998-11-06 20:05:43 +00:00
christos 6eb7ceb840 char -> unsigned char 1998-11-06 20:03:08 +00:00
christos 501608c08c bcpy->memcpy, and don't trash memory if
hp->h_length is > sizeof(struct sockaddr_in);
1998-11-06 20:00:07 +00:00