Commit Graph

50688 Commits

Author SHA1 Message Date
cgd f8eb5f4b98 trim off unnecessary bits 1999-04-05 05:07:04 +00:00
cgd b774b1837d fix disk write size check 1999-04-05 05:01:44 +00:00
cgd ebca60d395 come a little closer to compiling with warnings turned on 1999-04-05 04:39:42 +00:00
cgd ae79d52642 i was fooling myself to believe that these would build with all warnings 1999-04-05 04:38:27 +00:00
cgd f8fcd4d2be -I goes in CPPFLAGS, not CFLAGS 1999-04-05 03:42:50 +00:00
cgd bf165cb8fc install bootxx_cd9660 and bootxx_ffs 1999-04-05 03:37:28 +00:00
cgd 6603c44a84 reorganize Makefiles so that warning flags aren't accidentally omitted,
and so that all programs and boot blocks are built.
1999-04-05 03:35:24 +00:00
sommerfe c97bb0650d Fix compile warning (not seen with egcs, but...) 1999-04-05 03:33:31 +00:00
cgd 5bf53d4104 update for new manual pages 1999-04-05 03:29:46 +00:00
cgd 590f024334 clean up for old installboot being moved to installboot.old 1999-04-05 03:27:50 +00:00
cgd 1810246111 manual page for the new alpha installboot(8) 1999-04-05 03:24:35 +00:00
cgd e5eef988ac a mkbootimage(8) manual page 1999-04-05 03:20:45 +00:00
cgd 2f3e235aea an alpha MAKEDEV manual page. a bit broken, but no more broken than the
alpha MAKEDEV script's comments, since that's where the information
was taken from.
1999-04-05 03:19:01 +00:00
cgd 2fe77f3566 clean up, fix a few bogons, add FILES and AUTHORS sections 1999-04-05 03:17:30 +00:00
cgd a8b2ae885a Moved from share/man/man8/man8.alpha/installboot.8,v 1999-04-05 03:11:54 +00:00
cgd 0fec3c77a1 Moved to share/man/man8/man8.alpha/installboot.old.8,v 1999-04-05 03:11:53 +00:00
cgd a50cfa8576 add a new from-scratch (actually, from mkbootimage, but that's close
enough) implementation of installboot(8) which installs the new file
system specific boot blocks.
1999-04-05 03:07:37 +00:00
cgd 180d6f8b19 Moved to sys/arch/alpha/stand/installboot.old/installboot.c,v 1999-04-05 03:02:07 +00:00
cgd b76e58f09c Moved from sys/arch/alpha/stand/installboot/installboot.c,v 1999-04-05 03:02:06 +00:00
cgd 80eba52649 Moved to sys/arch/alpha/stand/installboot.old/extern.h,v 1999-04-05 03:02:05 +00:00
cgd acb2102a7c Moved from sys/arch/alpha/stand/installboot/extern.h,v 1999-04-05 03:02:04 +00:00
cgd 5549a89389 Moved to sys/arch/alpha/stand/installboot.old/cd9660.c,v 1999-04-05 03:02:03 +00:00
cgd 2e3c73533f Moved from sys/arch/alpha/stand/installboot/cd9660.c,v 1999-04-05 03:02:02 +00:00
cgd 84d60a245d Moved to sys/arch/alpha/stand/installboot.old/Makefile,v 1999-04-05 03:02:01 +00:00
cgd 5863b697a0 Moved from sys/arch/alpha/stand/installboot/Makefile,v 1999-04-05 03:02:00 +00:00
cgd 6ab8a12347 clean up, use disklabel.h boot block checksum macro, exit with
EXIT_SUCCESS and EXIT_FAILURE rather than 0 and 1.
1999-04-05 02:56:33 +00:00
cgd eb5c725722 clean up for compiler warning flags 1999-04-05 02:55:38 +00:00
cgd 9164307eaf instead of coding an alpha boot block checksum routine here, use
the macro now provided by disklabel.h
1999-04-05 02:50:52 +00:00
cgd 7a2f0695dd clean up slightly, do a little #define trick to make checksumming
the boot block a little easier/more 'clean', and provide a macro to
checksum the boot block.
1999-04-05 02:45:47 +00:00
chopps 47acef4796 add note about who uses this code 1999-04-05 01:09:51 +00:00
chopps 1b017ba3a8 fix the cksum routine and parse ESH packets. 1999-04-05 00:58:29 +00:00
perry 0f2eecb8c3 add aculog 1999-04-05 00:22:47 +00:00
eeh 713a1d89ff Add _dtoul() which gcc generates a lot. Maybe it should go in another file. 1999-04-04 21:01:39 +00:00
is fc78f9d619 /usr/include/amiga/ieee.h added 1999-04-04 20:17:54 +00:00
eeh f99c2723d9 Make gdb compile on sparc64. (Actually work correctly is another thing....) 1999-04-04 19:02:31 +00:00
mycroft 704563569f It was silly to not make this exportable. 1999-04-04 18:15:58 +00:00
chs c109816333 Undo the part of the last revision about pr_rmpage() referencing
a data structure after it was freed.  This wasn't actually a problem,
and the change caused the wrong pool_item_header to be freed
in the non-PR_PHINPAGE case.
1999-04-04 17:17:31 +00:00
dante d3b97ee431 Handle '_crunch' section.
Add removelist() function
Add renamelist() function
1999-04-04 16:57:36 +00:00
dante 7678969db4 catman now use config.c and config.h from usr.bin/man 1999-04-04 16:52:34 +00:00
dante a7d911d5b7 Reference config.c and config.h from usr.bin/man 1999-04-04 16:50:47 +00:00
dante ff3f665d94 Document '_crunch' section. 1999-04-04 16:27:28 +00:00
bouyer bf88fc82eb Adjust timeout for 'ielem' to match the comment: 5 mn (not 5s) per element +
10mn initial.
1999-04-04 12:20:48 +00:00
scw f7a019c61a Fix a problem I noticed a while back but had too many other things
in the air to deal with it.
Basically, following a kernel fault (eg. dereferencing a NULL pointer
in kernel mode) a DDB 'trace' did not show the function where the
fault occurred. For example:

	db> trace
	_Debugger()
	_panic()
	_trap()
	faultstkadj()
	_pool_drain()
	_uvm_pageout()
	_start_pagedaemon()
	_proc_trampoline()
	db>

The 'faultstkadj()' line here is bogus. It is shown because the return
address to 'trap()' happens to point there, and since faultstkadj() has
no stack frame, DDB assumes it was the faulting function. In this example,
the _real_ function was pool_reclaim(), but you would have to look at
the program counter at the time of the fault to figure that one out.

This fix makes the trace command do the dirty work for you by grubbing
around in 'trap()'s argument list to find the *real* PC value at the
time of the fault, replacing the 'faultstkadj()' line with the real
function's name.
1999-04-04 11:33:02 +00:00
dante a6a272d18a Add "_crunch" section required by catman to crunch compressed cat pages. 1999-04-04 11:02:09 +00:00
dante bea7444699 Add catman.
It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages.
It handle symbolic links, but at this time no hard links.
config files are stolen from man with few changes to support "_crunch" section.

catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
1999-04-04 10:56:38 +00:00
mycroft 0d59551634 Avoid using id(1), as this loses when /usr isn't mounted. 1999-04-04 09:58:57 +00:00
fair 5048fc1b17 NetBSD's very clever kernel build system can make more than one
kernel per config file and the resulting kernel need not be named
"netbsd"; therefore paw through the config file after the kernel
builds are done, find them all, and put them where they belong per
release(7). This all done with some clever awk/sh scripting, from
PR 7180 by David Forbes.
1999-04-04 09:57:11 +00:00
mycroft 9e81cc5022 Fix obvious bugs:
* The MNT_UPDATE case had a null pointer dereference.  (This is a good example
  of why blindly adding bogus initializiers is a FUNDAMENTALLY BAD IDEA!)
* Make sure the whole ufsmount is zeroed, as the export code relies on this.
* If we decided to use the second/alternate superblock, make sure to copy the
  in-core version from the right buffer.
Also, reenable NFS exporting.
1999-04-04 09:56:44 +00:00
tron 1b27086b7e - Make sure that interface can't be marked up before a route to the remote
tunnel end was found.
- Flush route and reset MTU if interface is marked down.
1999-04-04 09:10:27 +00:00
explorer 9350aaaee9 Add NetBSD rcsid tags, and preserve old ones from i4b source 1999-04-04 06:57:03 +00:00