Commit graph

8632 commits

Author SHA1 Message Date
Dag-Erling Smørgrav 8758ef9b41 Whitespace cleanup 2002-10-29 12:14:31 +00:00
Poul-Henning Kamp 39da086a6b Sparc64 will not need the same hacks as alpha did. Hopefully alpha wont
need them either.
2002-10-29 07:38:05 +00:00
Poul-Henning Kamp 1709a4fd6a Fix the wizardmodes 'write' command to not explode: Don't reference
the name in the disk tree we just deleted when we reopen.
2002-10-28 22:40:49 +00:00
Nate Lawson c115dd45a4 Take care of the case for the default speed (no -s option) also. 2002-10-27 19:44:57 +00:00
Garrett Wollman cd9a4d5d7a Add used #include <limits.h>. 2002-10-27 17:46:53 +00:00
Garrett Wollman 688dfe4533 Do not include <sys/syslimits.h> directly; it is not intended for general
consumption.
2002-10-27 17:44:33 +00:00
Nate Lawson cfe6d7e913 Move speed units conversion to right before it is used. This catches the
case when the -s option is not used.
2002-10-27 17:43:22 +00:00
Bruce A. Mah 2466516a6c Allow users to read the Early Adopter's Guide in sysinstall. 2002-10-27 01:49:45 +00:00
Peter Wemm 52fe5948a0 Un-remove sysinstall for ia64. 2002-10-27 00:22:05 +00:00
Nate Lawson dfb87d2239 Convert speed into KB/s. This was missed by the previous commit to this file.
MFC after:	3 weeks
2002-10-26 23:32:35 +00:00
Poul-Henning Kamp c295abba4f Explicitly list architectures supporting sysinstall 2002-10-25 17:04:49 +00:00
Bruce A. Mah 4288a55ca2 MFS: Update sysinstall text for the number and size or ports in the ports
collection.

	src/release/sysinstall/dist.c	1.175.2.29 -> 1.175.2.30
2002-10-25 14:52:27 +00:00
Poul-Henning Kamp 66a550c4ac Goodbye and good riddance! 2002-10-25 11:48:56 +00:00
Poul-Henning Kamp 9c95e0d9e9 Confirmed kill: "Bogon #1" is dead, killed by DEVFS. 2002-10-25 11:47:58 +00:00
Poul-Henning Kamp 09c3a0c7c5 Comment out more MAKEDEV bogosity ("BOGON #1" as Jordan put it :-) 2002-10-25 09:54:27 +00:00
Andrew Gallatin f6a807d6fb another int * to size_t * change for getbsize() to make it compile
on LP64 hosts
2002-10-24 17:43:56 +00:00
Andrew Gallatin fda3659531 getbsize() now takes a pointer to a size_t as its first arg. A pointer
to an int no longer works on an LP64 platform...
2002-10-24 17:27:32 +00:00
Mark Murray 84ee4a7c72 Adjust argument passed to getbsize(). 2002-10-23 18:55:20 +00:00
Poul-Henning Kamp ac715696fc Fix cut&paste mistake. 2002-10-23 14:37:43 +00:00
Robert Watson 5b38a427c0 Introduce simple command line tools to manage MAC labels on processes and
files.  Basically wrappers for mac_{get,set}_{file,link,pid,proc}(3).
Man pages to be updated shortly.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:15:24 +00:00
Poul-Henning Kamp e20037ab6b Remove more private MAKEDEV kludges. 2002-10-22 15:25:19 +00:00
Poul-Henning Kamp 0dd72760f0 Give a real error on failure to mount DEVFS. 2002-10-22 15:07:17 +00:00
Poul-Henning Kamp 0398919dc7 Don't use NO_MAKEDEV* option, its the default now. 2002-10-22 15:04:32 +00:00
Poul-Henning Kamp c0dc344665 Fix example, we do not need NO_MAKEDEV_RUN any more.
XXX: this example should be updated with a good example of devfs(8) rules.
2002-10-22 15:03:51 +00:00
Poul-Henning Kamp ef4d89ea40 Chunk functions in libdisk take an extra arguement for all archs to accomodate
PC98 with less ifdef madness.
2002-10-22 10:52:53 +00:00
Poul-Henning Kamp d8d00fade9 Pick up a prototyp from libdisk.h instead of having our own. 2002-10-22 09:13:27 +00:00
Poul-Henning Kamp 427baedb08 DEVFS has been nmountified, so use nmount(2) to mount it. 2002-10-21 21:41:19 +00:00
Chris Costello 0540c0eb2a Stick .Os between .Dd and .Dt 2002-10-20 19:45:39 +00:00
Makoto Matsushita 9c499b692a Since NEWCARD is the default for i386, undef PCCARD_ARCH.
pccard.c is no longer needed for i386 also.

OKed by: imp, nyan
2002-10-20 11:16:41 +00:00
Nate Lawson 76ba4ecdad * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.
* Change atapi-cd ioctls to use the same units.
* Change burncd, cdcontrol to convert CDROM speed to KB/sec before
calling the ioctl.  Add a "max" speed option for their command lines.

This change does not break ABI but does change the units passed through
the ioctl so 3rd party software that uses cdrio.h will have to convert
(most likely by multiplying CDROM speed by 177 to get KB/s).

PR:		kern/36845
Submitted by:	Philipp Mergenthaler <p@i609a.hadiko.de> (CAM ioctls)
Reviewed by:	sos, ken
MFC after:	1 month
2002-10-18 22:03:39 +00:00
Thomas Moestl 6f6ede923c Connect ofwdump to the sparc64 build. 2002-10-18 15:38:39 +00:00
Thomas Moestl 1b6eef5b4e Add a utility to examine the OpenFirmware device tree (on sparc64). This
allows access to detailed machine configuration information, and should
be especially useful to gather information for driver-related bug
reports.
2002-10-18 15:37:15 +00:00
Tim J. Robbins 50a4cf33ca Sync usage() with reality and sort it alphabetically.
PR:		42620
Submitted by:	Jeff Ito
MFC after:	1 month
2002-10-18 11:48:46 +00:00
Tim J. Robbins 7c5bf58a15 Add -c option to synopsis. Sort it alphabetically, too. 2002-10-18 11:42:21 +00:00
Chris Costello e5900bcbeb Cosmetic line-wrapping change that has the side-effect of not producing
the (incorrectly-spaced) output "... Network Associates Inc.  under ..."
2002-10-18 05:31:39 +00:00
Chris Costello c5ad2cad9e Remove a superfluous line containing only `.' 2002-10-18 05:29:39 +00:00
Chris Costello 6dde49132e Activate ugidfw.8 man page.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-10-17 22:43:11 +00:00
Philippe Charnier b51547cf62 Remove unused #includes. Eliminate castings by using size_t instead of int. 2002-10-17 13:19:47 +00:00
Chris Costello fb8085a281 Add a man page for ugidfw(8).
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-10-17 01:54:37 +00:00
Philippe Charnier 75201fa43d s/rpc.mountd/mountd/
Add FBSDID
Reorder #if/#endif around sccsid to conform style(9)
2002-10-16 16:04:50 +00:00
Philippe Charnier cd9b47f3c2 Arrange to not have /* inside a comment. Typo fix. 2002-10-16 15:56:13 +00:00
Philippe Charnier 557f7e714d Put author name under .An/Aq. 2002-10-16 15:51:16 +00:00
Maxim Konovalov a9a25f59fa Fix getopt(3) optstring: remove a flag we does not handle.
PR:		bin/44066
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after:	1 week
2002-10-16 14:20:20 +00:00
Philippe Charnier 4cdb6a340b Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter inside
err().
2002-10-15 16:28:21 +00:00
Yoshihiro Takahashi 89335c9f46 Fix to check disk geometry.
Submitted by:	kawanobe@st.rim.or.jp (Kawanobe Koh)
2002-10-14 13:15:14 +00:00
Yoshihiro Takahashi 1860696e5a The MACHINE variable on pc98 is "i386". So, use "pc98" directly in PC98 case. 2002-10-14 13:06:13 +00:00
Yoshihiro Takahashi ff42d86e8b Use snprintf() instead of sprintf(). 2002-10-14 13:04:21 +00:00
Yoshihiro Takahashi 0f8a77bf29 Check correct machine name. 2002-10-14 13:02:30 +00:00
David E. O'Brien eec2e4bdde * Negative #if's are harder to read as they don't tell exactly what arch
something applies to.  So change #ifndef to an explicit list of defines.
* Treate sparc64 and ia64 as 64-bit platforms, which means larger roots.
* sparc64 should halt back to the firmware, not reset.
* sparc64 doesn't need to play MS-DOS/BIOS partition crap games.

Reviewed by:	jake
2002-10-11 22:30:09 +00:00
Brian Feldman fa46e218c7 Document the -n option and fix manpage Fl usage.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-10 17:19:43 +00:00