Commit Graph

45221 Commits

Author SHA1 Message Date
mjacob 4e6a326712 fix some amazingly stupid typos 1998-11-08 19:27:33 +00:00
mycroft 36918f312f Rework cluster_rbuild() to use buffers with the file system block size.
From Alasdair Baird.
1998-11-08 18:18:31 +00:00
mycroft 6957bd875c Do not permit the u area for nfsd or nfsiod to be swapped out. 1998-11-08 15:57:44 +00:00
mycroft ffe8316398 Fix a code generation bug in store_expr() when the rhs is a memory location
pointed to by a postincremented (or postdecremented) pointer and the value
of the assignment is reused.
1998-11-08 14:58:09 +00:00
hubertf 420903b4c1 remove devices before (re)creating 1998-11-08 14:22:17 +00:00
hubertf 0839b5f170 Fix for cut&paste (s|./SVR4_MAKEDEV|sh SVR4_MAKEDEV|) 1998-11-08 14:13:18 +00:00
jonathan 6ad9b1b1ef UI safety: change order of menu entries in BSD disklabel-editing menu,
so that the default option is to change a partition entry, rather than
proceed.  (The change-parittion menu has an option to quit.)
1998-11-08 04:42:21 +00:00
ross 9a5c6e6324 Changes to .Nx macro.
* Don't print the `et' in an itty bitty point size just because we want
  small caps for the rest of `NetBSD'.
* Define an Nx number register so the macro becomes sort-of callable. It
  does punctuation wrong, looking at argument count rather than argument
  type, so this will need fixing before it is truly `parsed and callable'.
1998-11-08 04:10:38 +00:00
jonathan 9f856c8207 Fix sneezo during commit. 1998-11-08 02:56:27 +00:00
jonathan d325644fcd Fix thinko in previous commit (spelling mistake in argument name). 1998-11-08 02:55:07 +00:00
jonathan 39a8d7790a Use MI function label.c:savenewlabel() in MD code to to save labels,
now that cut-and-paste errors are resolved and MD changes unified.
Postponed for i386, pmax until 1.3.3 frozen.
1998-11-08 02:11:23 +00:00
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