Poul-Henning Kamp
5dccd5c649
Swing the axe and remove some archaic features from newfs which modern
...
diskdrives do neither need nor want:
-O create a 4.3BSD format filesystem
-d rotational delay between contiguous blocks
-k sector 0 skew, per track
-l hardware sector interleave
-n number of distinguished rotational positions
-p spare sectors per track
-r revolutions/minute
-t tracks/cylinder
-x spare sectors per cylinder
No change in the produced filesystem image unless one or more of
these options were used.
Approved by: mckusick
2002-03-20 07:16:15 +00:00
Alfred Perlstein
e57574233a
Remove __P.
2002-03-20 06:48:11 +00:00
Alfred Perlstein
b63dc6ad47
Remove __P.
2002-03-20 05:48:58 +00:00
Jeff Roberson
69c2d429c1
Switch vm_zone.h with uma.h. Change over to uma interfaces.
2002-03-20 05:48:55 +00:00
Jeff Roberson
586c8b6b29
Add calls to uma_zone_set_max() to restore previously enforced limits.
2002-03-20 05:30:58 +00:00
Jeff Roberson
736ee5907f
Add uma_zone_set_max() to add enforced limits to non vm obj backed zones.
2002-03-20 05:28:34 +00:00
Benno Rice
21d7ec8915
Increment pmap_pvo_count in the right place.
2002-03-20 05:25:33 +00:00
Alfred Perlstein
14e10f9952
Remove __P.
2002-03-20 05:14:42 +00:00
Alfred Perlstein
aa075405f6
Remove __P.
2002-03-20 05:00:21 +00:00
Jeff Roberson
54d77689ed
Backout part of my previous commit; I was wrong about vm_zone's handling of
...
limits on zones w/o objects.
2002-03-20 04:39:32 +00:00
Warner Losh
582236c5b2
Kill register
2002-03-20 04:33:25 +00:00
Jeff Roberson
9e9d298a9b
Remove references to vm_zone.h and switch over to the new uma API.
2002-03-20 04:11:52 +00:00
Jeff Roberson
c897b81311
Remove references to vm_zone.h and switch over to the new uma API.
...
Also, remove maxsockets. If you look carefully you'll notice that the old
zone allocator never honored this anyway.
2002-03-20 04:09:59 +00:00
Matthew Dillon
e38eb7fbe4
Fix a bug introduced in 1.11 (and also MFCd to stable AND the security branch)
...
that causes a machine to panic when the kernel PPP / DEFLATE code is used.
1.11 moved a ZFREE to a point after the structural members were clobbered
by stores into a union'd structure.
This commit fixes the bug and adds a big whopping comment to make sure
the code isn't 'cleaned up' again :-)
Ian Dowse came up with the same patch independantly 68 seconds before I
did, talk about Karma!
I would also like to thank Eugene Grosbein for marathon work in tracking the
problem down by udpating his -stable based on date over and over again
to close in on the commit that caused his crashes.
PR: kern/35969
Reviewed by: Ian Dowse <iedowse@maths.tcd.ie>
X-MFC after: immediately
2002-03-20 04:05:26 +00:00
Jeff Roberson
670d17b5c0
Remove references to vm_zone.h and switch over to the new uma API.
2002-03-20 04:02:59 +00:00
Alfred Perlstein
96abb1618a
Remove __P.
2002-03-20 02:39:27 +00:00
Robert Watson
ec3b06a0fe
"-" now sends output to stdout.
2002-03-20 02:35:14 +00:00
Robert Watson
b819704f1b
Teach growfs's dbg_open() that a filename of "-" for output means to
...
open "/dev/stdout". This doesn't actually affect growfs, but does affect
ffsinfo, permitting ffsinfo to output to the shell's stdout rather than
requiring it be dumped to a file or explicitly pointed at a special
device.
Reviewed by: peter
2002-03-20 02:34:01 +00:00
Jeff Roberson
df66668c42
Force the boot cpu to wait for the APs to finish starting up. This eliminates
...
a race where the AP and the boot cpu were trying to printf at the same time,
which was confusing the console too much for it to continue working.
2002-03-20 02:27:55 +00:00
Alfred Perlstein
8febc6ba17
Remove __P.
2002-03-20 02:15:46 +00:00
David E. O'Brien
5461a012fd
Remove ipnat until the committer can actually test his changes.
2002-03-20 02:09:50 +00:00
Alfred Perlstein
e51a25f850
Remove __P.
2002-03-20 02:08:01 +00:00
Jun Kuriyama
c605e9e62f
MFen.
2002-03-20 02:01:26 +00:00
David E. O'Brien
a3a263e37c
Remove ipftest until the committer can actually test his changes.
2002-03-20 01:57:52 +00:00
Mike Heffner
9cc7cb5818
Fix bugs from previous commit: initialize the correct field and use
...
the correct local variable.
Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com>
Pointy hat to: mikeh
2002-03-20 01:31:15 +00:00
Peter Wemm
1a8f253b64
Cast pointers to uintptr_t rather than u_int32_t. This doesn't work too
...
well on machines with 64 bit pointers.
2002-03-19 23:28:35 +00:00
Peter Wemm
41d0e15f86
Pacify gcc-3.1.
2002-03-19 23:26:37 +00:00
Peter Wemm
0d87e7d007
Fix some gcc-3.1+ warnings:
...
warning: deprecated use of label at end of compound statement
umass.c:2626:46: multi-line string literals are deprecated
2002-03-19 23:20:21 +00:00
Peter Wemm
efcbdfb72b
Add EFI write support to loader
2002-03-19 23:05:33 +00:00
Daniel Eischen
3003bdb598
Add the ability to recognize old references to keys, and return NULL
...
when old keys are referenced (after pthread_key_delete()) via
pthread_getspecific().
2002-03-19 22:58:56 +00:00
Alfred Perlstein
63e99e978a
Hopefully fix make world.
...
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2002-03-19 22:51:53 +00:00
Alfred Perlstein
6f1e855112
Remove __P.
2002-03-19 22:40:48 +00:00
Alfred Perlstein
11caded34f
Remove __P.
2002-03-19 22:20:14 +00:00
Josef Karthauser
2d4ac0e834
Sync the uhci_dump_foo routines with NetBSD, and remove an errant additional
...
uhci_dump_ii function that landed there, probably during a recent merge.
Spotted by: alfred
2002-03-19 22:14:08 +00:00
Alfred Perlstein
929ddbbb89
Remove __P.
2002-03-19 21:54:18 +00:00
Alfred Perlstein
67b362072d
add missing semicolon.
2002-03-19 21:44:49 +00:00
Alfred Perlstein
4d77a549fe
Remove __P.
2002-03-19 21:25:46 +00:00
Poul-Henning Kamp
89fb8ee796
Add the undocumented -R option to disable randomness for regression-testing.
...
Add a couple of simple regression tests accessible with "make test", they
depend on the md(4) driver.
FYI I have also tried running the test against a week old newfs and it
passed.
2002-03-19 21:05:29 +00:00
Alfred Perlstein
1f31a77ce8
don't generate files with __P.
2002-03-19 20:48:32 +00:00
Alfred Perlstein
205c9d4c30
fix blockno printf formatting warnings.
2002-03-19 20:46:30 +00:00
Alfred Perlstein
789f12fe69
Remove __P
2002-03-19 20:18:42 +00:00
Alfred Perlstein
be1673823f
Fix bio->bio_blkno format warning.
2002-03-19 20:12:08 +00:00
Poul-Henning Kamp
8409849dd0
Further cleanups.
2002-03-19 20:01:38 +00:00
Alfred Perlstein
72b1d826be
Remove duplicate extern declarations to silence warnings.
2002-03-19 19:45:41 +00:00
Warner Losh
c1fdb43f59
Remove stray register
2002-03-19 18:47:50 +00:00
Warner Losh
34ef9eb5e6
De-__P the man page, but I suspect that we need to freshly import
...
sys/disklabel.h since the one in here looks a little crunchy.
2002-03-19 18:44:56 +00:00
Ian Dowse
475df34ac2
Replace a number of similar for' loops with a new
ilog2()' function
...
that computes the base-2 log of a power of 2.
2002-03-19 17:39:01 +00:00
Ian Dowse
bf57cced53
Complete the ANSIfication of newfs by converting function declarations
...
to C89 style.
2002-03-19 17:20:02 +00:00
Ian Dowse
f7b48c89c8
The FSIRAND code is always compiled in, and it is unlikely that
...
anyone needs a newfs without it. Remove the #ifdef's from around
the code and the -DFSIRAND from the Makefile. Also remove redundant
declarations of random() and srandomdev().
2002-03-19 17:03:14 +00:00
Ian Dowse
9710700cb1
Remove the ancient STANDALONE code.
...
Approved by: phk
2002-03-19 16:47:20 +00:00