hoek [Thu, 25 May 2000 04:38:47 +0000 (04:38 +0000)]
Add some fortunes, typically gleaned from FreeBSD mailing lists, remove
some dups, fix some typos and formatting.
Submitted-by (in no particular order):
Cy Schubert <cschuber@uumail.gov.bc.ca> (bin/12477)
David Kelly <dkelly@hiwaay.net> (misc/16647)
Zachary K Drew <drew0054@tc.umn.edu> (misc/16848)
Mark Ovens <mark@ukug.uk.freebsd.org> (misc/15809)
Bruce A. Mah <bmah@nimitz.ca.sandia.gov> (bin/17085)
And myself.
msmith [Thu, 25 May 2000 02:48:15 +0000 (02:48 +0000)]
Remove all of the block devices, correct major numbers to point to the
corresponding character devices. This is (currently) untested, but
should be correct.
msmith [Thu, 25 May 2000 02:28:50 +0000 (02:28 +0000)]
Teach sysinstall about 'twe' disks. Note that this is currently
untested, and with the current state of flux surrounding the death
of bdevs other things here may need to change.
obrien [Wed, 24 May 2000 20:02:21 +0000 (20:02 +0000)]
Move c-decl.c out of the common libcc_int.a into the binary Makefiles
where it is used. c-decl has symbols that conflict with several of the
cc1plus sources.
GNU `ld' was changed in Dec 1999 to be more be compatable with the way that
other linkers work (specifically in the Solaris linker). The 2.9.1 `ld',
did the Wrong Thing in that if a library contained a common symbol that
matched a definition of that symbol in another (already linked in object)
it would also be linked in, even if there was no other reason to do so.
This is wrong. The library should only be linked in if it contains
non-common, non-weak symbols which are needed by previously linked in
objects.
peter [Wed, 24 May 2000 14:22:22 +0000 (14:22 +0000)]
pmap_enter() masked off the page offset bits, pmap_kenter() did not.
This (I believe) is the cause of the XFree86 startup and/or mptable(8)
panics when programs were reading from /dev/mem at non-page-aligned
offsets. The offsets were being converted into random page flags in the
page tables. :-( (including PG_PS = 4MB page size)
mpp [Wed, 24 May 2000 13:05:50 +0000 (13:05 +0000)]
Remove the lpr/runqueue directory and associated files.
These are not used anymore and are outdated and only cause
confusion (I just committed a fix to one of these files within
the last hour, thinking it was still valid).
brian [Wed, 24 May 2000 09:05:58 +0000 (09:05 +0000)]
Honour ``set speed sync'' and ``set device !program'' when
used together by creating a SOCK_DGRAM socketpair() between
the processes.
Be polite when closing !program links and send a HUP to the
process. This makes ssh tunnels over unreliable media (such
as via httptunnel) reconnect properly.
jhb [Tue, 23 May 2000 12:18:49 +0000 (12:18 +0000)]
Clean up all of the 16-bit assembly code in the x86 bootstrap to work
with the new binutils. Now that we have a decent assembler, all the old
m4 macros are no longer needed. Instead, straight assembly can be used
since as(1) now understands 16-bit addressing, branches, etc. Also,
several bugs have been fixed in as(1), allowing boot0.s to be further
cleaned up.
jdp [Tue, 23 May 2000 04:53:24 +0000 (04:53 +0000)]
Use the new machine-independent versions of crtbegin and crtend
from the "common" directory.
As a side-effect, this also fixes a bug in the ordering of global
constructors and destructors on the Alpha. See revision 1.3 of
"../common/crtbegin.c" for details.
joerg [Mon, 22 May 2000 17:21:50 +0000 (17:21 +0000)]
Apply a `fixup' to the blocksize gathered from the device after a READ
CAPACITY operation. SCSI-3 mandates this to be 2048, but some older
drives like my old Plasmon CD-R report weird numbers between 2048 and
up to 2352 bytes depending on the mode of the last track etc. This in
turn confuses stuff like the slice code since it refuses to work with
devices that do not have a blocksize which is a multiple of 512 bytes.
obrien [Mon, 22 May 2000 16:58:44 +0000 (16:58 +0000)]
If we are going to do a byte compare, the operands should be byte-sized.
In this case, I believe we want to compare against the 32-bit operand so
use a full-world compare operation.
jdp [Mon, 22 May 2000 16:31:18 +0000 (16:31 +0000)]
Eliminate unaligned accesses that occurred when relocating the
DWARF2 exception tables emitted by the compiler for C++ sources.
These tables are tightly packed, and they contain some relocated
addresses which are not well-aligned.