49527 Commits

Author SHA1 Message Date
fvdl
8371eb7a88 Clean up the BIOS disk matching code a bit (better naming, one structure
and sysctl to export to userland). Also, only use total number of sectors
given in the extended parameters if the physical chs geometry is
marked invalid. Hopefully fixes a problem where BIOSs would not correctly
fill in this field.
1999-03-12 01:01:41 +00:00
wrstuden
988bdf8e19 Modify how the byteswapping of the cylinder summaries is handled. If we
need to swap, allocate a buffer for the swapped summaries rather than using
writebuf. The latter is fixed at 64k, which is only enough room to hold
4096 summaries. Creating an fs with more results in a buffer overrun.

First noted by Matt Jacob mjacob@netbsd.org, and fixed by Albeaus
Bayucan, bayucan@nas.nasa.gov. Minor mods by me.
1999-03-11 20:23:58 +00:00
marc
a08745a0e8 if exec fails, perror() and _exit(). exit() is no good, because if
the child runs the atexit cleanup() function, the filesystems get
unmounted and things lose.
1999-03-11 16:48:27 +00:00
leo
dbe02b9472 Sync with checkflist output from Julian Coleman. 1999-03-11 15:35:11 +00:00
fvdl
bc38bb1052 Declare nhd to be unsigned char, as we're only copying one byte to it.
From Matthias Drochner.
1999-03-11 12:34:36 +00:00
fair
570e759de9 Patch from PR#5156 to adjust buffer size to match filesystem block size
when "-u" option used, plus some additional documentation.
1999-03-11 12:04:18 +00:00
fair
4b94049c6c Add .Xr which 1 1999-03-11 11:40:10 +00:00
fair
7ca3defa5f Patch from PR#4872 implementing a "-a" option added, plus documentation. 1999-03-11 11:15:44 +00:00
fair
64b1551844 Apply patch, KNF'd, from PR#3363 to add a "-p" option to whereis. 1999-03-11 10:42:43 +00:00
fair
02b2bb48b7 Apply patch from PR#6443 to set LED properly when BLINK option is
not set.
1999-03-11 06:44:40 +00:00
marc
d498a2d354 update the list to correspond to the programs which are actually in
the ramdiskbin
1999-03-11 06:24:36 +00:00
sakamoto
23903bfc0e Regen. 1999-03-11 05:17:54 +00:00
sakamoto
272f5b609d Add several VIA Technologies chipsets. 1999-03-11 05:17:24 +00:00
sommerfe
0bf14e7e01 commit a revised version of the suggested change in pr7105.
delete reference to (no longer used) NBPI parameter.
instead, insert crossref to newfs(8)
1999-03-11 04:13:24 +00:00
mrg
a3032595bd add LINK_SPEC defines that i have "-m elf{32,64}_sparc" set correctly, like other ports. 1999-03-11 00:11:10 +00:00
thorpej
5fa25527ac Const poison ether_ifattach(). 1999-03-10 21:05:08 +00:00
mark
303ca6c449 Make pmap_extract() understand L2 large page PTEs. Normally small page
PTEs are used but during bootstrap the kernel may be mapped with large page
PTE to save TLB entries.
1999-03-10 20:54:17 +00:00
drochner
b241f995f0 don't erase the characters moved over on a <TAB>, a real VT100 doesn't
do this - thanks Bill Sommerfeld (PR kern/7124)
1999-03-10 19:54:52 +00:00
bouyer
f9b8e2d406 Note that this is derived from PR 6706 submitted by Brian Grayson. 1999-03-10 19:44:26 +00:00
scottr
a53f9b62f4 Make a note of a subtle lossage mode pointed out by Mycroft. 1999-03-10 19:18:59 +00:00
scottr
a443f8c15c Make the includes and install targets consistent, and shove the
ugly hack into the etc/Makefile distribution target instead of
the top-level build target.  Problem noted by Mycroft.
1999-03-10 19:10:14 +00:00
bouyer
728bb9aad7 FFS regression tests: tests newfs, kernel, fsck_ffs and dump/restore. 1999-03-10 18:58:08 +00:00
bouyer
da5ea8d9d1 Add fs. 1999-03-10 18:57:06 +00:00
bouyer
fe598d8469 Makefile for filesystem regression tests subdir. 1999-03-10 18:56:46 +00:00
sommerfe
2ec4ac3d65 Increase default MSGBUFSIZE due to more and chattier drivers in -current 1999-03-10 18:02:22 +00:00
mycroft
3064c4ddcd alpha seems to work with -O2... 1999-03-10 14:06:14 +00:00
jonb
fae90a3604 Move DEFAULT to GENERIC so make snapshot works. Comment out makeoptions
line in INSTALL so it will config.
1999-03-10 13:35:33 +00:00
bouyer
a6365676fa Add a new disk flag: DRIVE_OLD for pre-ATA disks. probe routine will now set
DRIVE_OLD, DRIVE_ATA or DRIVE_ATAPI based on register signatures.
The attach routine will issue a IDENTIFY command for ATA/ATAPI disk,
to detect flase matches by the probe routine.
probe/attach should now be fully compliant with ata-4/ata-5. As a side
effect, ATAPI drives which improperly use ATA register signatures should now
be attached as ATAPI.
1999-03-10 13:11:43 +00:00
kleink
a6d726254d Un-nest __P(). 1999-03-10 12:58:00 +00:00
mycroft
c0832bbcc0 Fix Yet Another Bug in fold_truthop(), which causes the RHS mask to be
truncated if lnbitsize<rnbitsize.
1999-03-10 12:25:40 +00:00
drochner
b477d700f2 add support for 3c905b TX 1999-03-10 10:37:38 +00:00
kleink
65a39c939e Sync with declaration in <unistd.h>. 1999-03-10 09:52:54 +00:00
erh
55f3a4b91b Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +00:00
tls
c08205bd4a fix typo 1999-03-10 08:56:16 +00:00
erh
9d7d8174c5 Add missing .El line. 1999-03-10 08:33:15 +00:00
erh
65e6435539 Add missing .El lines. 1999-03-10 08:25:37 +00:00
erh
0f61c6801e Add missing .El line. 1999-03-10 08:17:35 +00:00
mycroft
2b504929fa Just some minor cleanup. 1999-03-10 08:15:43 +00:00
erh
ab43bc629f Add missing .El line. 1999-03-10 08:15:28 +00:00
mycroft
f1c544b6a8 Use ieee.h structs and macros. 1999-03-10 08:14:44 +00:00
mycroft
5ec1e5beab Add an ieee.h. 1999-03-10 08:13:01 +00:00
marc
15d1a6cc63 alphabetize 1999-03-10 08:02:12 +00:00
ross
5837fe443f Enable alpha. 1999-03-10 06:47:57 +00:00
ross
0325be06dd New file, included if present for ${MACHINE_ARCH} by bsd.kmod.mk. 1999-03-10 06:41:48 +00:00
ross
88fbb254d4 If it exists, include machine/Makefile.inc 1999-03-10 06:34:19 +00:00
erh
fa45851f9b Add missing .El line. 1999-03-10 05:14:51 +00:00
thorpej
f48012dee8 Const poison ether_sprintf(). 1999-03-10 03:28:50 +00:00
mrg
1cfd38fb3e oops, fix previous. 1999-03-10 02:19:04 +00:00
eeh
6158292dbb PMAP_PGARG doesn't do the right thing for us. 1999-03-10 01:54:16 +00:00
fvdl
bdb770bc34 Create a list of native disks too, and make it retrievable. It contains
all matching BIOS disks per entry, so that we have complete match info.
Enable the matching code.
1999-03-10 01:28:24 +00:00