Commit Graph

1499 Commits

Author SHA1 Message Date
Jordan K. Hubbard d26a815b77 Clean up some more residual /usr/mdec references. I left all the
extra rbootd/boot rom cruft pointing at /usr/mdec since it either
doesn't exist or doesn't work anyway, so who cares? :)
1999-01-03 02:18:58 +00:00
Jordan K. Hubbard 5d3432d726 Update for boot block location change. 1999-01-02 23:28:44 +00:00
Doug Rabson f863ed7f6f Here is a patch to make mountd work.
It just replace u_long with u_int32_t and shouldn't affect on i386.
Without this patch,
- unaligned accesses occur
- permission denied randomly

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-12-29 09:38:49 +00:00
Peter Wemm 6d553badba Tweaks as a result of having vinum statically buildable in a kernel. 1998-12-28 16:32:39 +00:00
Søren Schmidt 580d0d02e8 Reenable vinum after repository copy.
Forgotten by:	Peter.
1998-12-28 11:06:21 +00:00
Søren Schmidt 380366f204 Temporaryly disable vinum, awaiting repository copy of misplaced files. 1998-12-27 19:43:28 +00:00
Luigi Rizzo d120b1c1fc Remove coredump when running "ipfw pipe" without more arguments.
PR: 8937
1998-12-27 11:23:05 +00:00
Greg Lehey ef57f97a9d - Correct alphabetical order of commands
- Describe subdisk attachment in more detail
- Describe new 'makedev' command
- Correct use of 'partition' and 'slice'
- Describe 'setupstate' keyword
- Include performance guidelines for striped plexes
- Correct numerical values in examples
- Add examples for disklabel(8)
- Clarify problems creating Vinum drives on inappropriate partitions

Prodded by: NAGANUMA Yasuhiro <y_naga@carat.rim.or.jp> (slices and
            partitions)
1998-12-27 03:47:15 +00:00
Jordan K. Hubbard 558408f95d User reports that using mount_null destroyed his filesystem, I reply
that nullfs really doesn't work, he askes why this isn't noted for the
"dangerous" filesystems, I go "hmmm."
1998-12-22 11:52:10 +00:00
Matt Jacob 74f079ee35 Bad Dog! No Biscuit! *Never* commit without testing- even if it was
"just a printf formatting change"....
1998-12-20 20:32:34 +00:00
Matt Jacob a2a4483652 add Bus and Device Reset commands 1998-12-20 18:51:56 +00:00
Jordan K. Hubbard efba76d7ff Look for boot blocks in new default location. 1998-12-17 16:50:10 +00:00
Guy Helmer b46dfa405c Mention affect of securelevel 3 and higher on attempts to change filter lists.
Prompted by:	PR docs/7785
1998-12-16 17:10:03 +00:00
Guy Helmer 04b2ac6e73 Mention securelevel 3 as affecting ipfw and dummynet. Generalize comment
about fdisk and securelevel 2.
PR:		docs/7785
1998-12-16 16:50:12 +00:00
Warner Losh e254596824 Fix two possible non-exploitable buffer overflows.
Thanks to: A friend at Sun auditing dump/restore for Solaris.
1998-12-16 04:48:00 +00:00
Matthew Dillon a16800d862 Add pt_tcplisten.c functionality, fix a few minor bugs
PR:             kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758
Submitted by:	Duncan Barclay <dmlb@ragnet.demon.co.uk>
1998-12-15 18:59:07 +00:00
Luigi Rizzo b13ebaaa5c ipfw changes for dummynet. manpages still missing 1998-12-14 18:43:03 +00:00
Matthew Dillon 25970dbc51 sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the
flag makes portal tcp operation work.
1998-12-12 21:30:17 +00:00
Bruce Evans 39b831af10 Merged from Lite2 (one bcopy -> memmove, one significant change:
don't unlink _PATH_NOLOGIN for the -k case even if shutdown terminates
abnormally.  NetBSD already has this change).
1998-12-11 11:21:47 +00:00
Bruce Evans 689419f325 Fixed missing 'p' and `-' flags and other defects in the usage message.
Fixed some style bugs.
1998-12-11 11:04:19 +00:00
Bruce Evans 502a3cc945 Merged from Lite2 (just an English fix or pun removal).
Updated date.  I think dates in man pages should be changed at least
when a new feature is described.
1998-12-11 10:35:38 +00:00
Bruce Evans dc5fb4a2e0 Fixed disordered options in synopsis. 1998-12-11 10:25:55 +00:00
Bruce Evans 1efaa0cab8 Fixed missing `p' flag in synopsis.
Broken in:	previous commit
1998-12-11 10:20:54 +00:00
Mike Smith 7e2d04d7c3 Add a '-p' flag to shutdown which corresponds to the '-p' flag to halt,
requesting a system power-off after shutdown.
1998-12-10 23:54:02 +00:00
Robert Nordier 71d7142d82 Use '#' flag in place of "0x" in format strings. 1998-12-07 14:09:17 +00:00
Archie Cobbs b31a38612b Disallow ipfw "tee" rules until it is actually implemented.
PR:		bin/8471
1998-12-07 05:54:37 +00:00
Julian Elischer 6b100474f7 Cosmetic and documentation changes brought from earlier FreeBSD versions.
(e.g. RCS Id:)
1998-12-03 02:41:11 +00:00
Julian Elischer d33e92f93e Reviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>
Submitted by:	Kirk McKusick <mckusick@McKusick.COM>
Obtained from:	Mckusick, BSDI and a host of others

This exactly matches Kirks sources imported under the
Tag MCKUSICK2. These are as supplied by kirk with one small
change needed to compile under freeBSD.

Some FreeBSD patches will be added back, though many have been
added to Kirk's sources already.
1998-12-03 02:27:35 +00:00
Julian Elischer 233fbe28b0 These shouldn't have been checked in here..
Reviewee by:
1998-12-02 23:45:28 +00:00
Bill Fumerola 1ac2383cb3 Insert missing macro, and while I'm here change the inconsistent
"page_ctl" and "pagectl" to "pgctl" to reflect ``camcontrol --help''.

PR:		docs/8781
Submitted by:	Norihiro Kumagai <kuma@jp.FreeBSD.org>
1998-12-02 22:42:36 +00:00
Julian Elischer f5dcaaf48e This commit was generated by cvs2svn to compensate for changes in r41461,
which included commits to RCS files with non-trunk default branches.
1998-12-02 20:53:40 +00:00
Julian Elischer 927eee5e0e Latest version of fsck from the folks at EX-CSRG specifically Kirk Mckusick.
Don Lewis and Kirk have merges nearly all FreeBSD Fixes into Kirks sources
so there is very little that needs to be re-merged.
1998-12-02 20:53:40 +00:00
Bruce Evans 0ed77db893 Fixed non-use of .Nm and hard line breaks in rev.1.16-1.17: 1998-11-29 13:20:04 +00:00
Bruce Evans e14589db82 Straightened the terminology straightening in 1.17-1.18. Fixed hard
line breaks in rev.1.16-1.18.
1998-11-29 13:09:01 +00:00
Robert Nordier c276ec5a07 Refer to "da" rather than "sd" device. 1998-11-28 10:02:52 +00:00
Robert Nordier 9f9930a2de Refer to "da" rather than "sd" device.
Suggested by: jdp
1998-11-28 09:43:31 +00:00
Joerg Wunsch 698b4def3f sd0 -> da0 1998-11-26 12:24:35 +00:00
Joerg Wunsch aa045fa499 Preprocessor support for `ipfw [-q] ... file'.
This allows for more flexible ipfw configuration files using
`variables' to describe frequently used items in the file, like the
local IP address(es), interface names etc.  Both m4 and cpp are useful
and supported; with m4 being a little more unusual to the common C
programmer, things like automatic rule numbering can be achieved
fairly easy.

While i was at it, i've also untangled some of the ugly style inside
main(), and fixed a bug or two (like not being able to use blank lines
when running with -q).

A typical call with preprocessor invocation looks like

	ipfw -p m4 -Dhostname=$(hostname) /etc/fwrules

Someone should probably add support for this feature to /etc/rc.firewall.
1998-11-23 10:54:28 +00:00
Satoshi Asami 51d2851063 Change sd -> da in examples.
Inspired by:	a mail by Scott Smyth <smyth@bashful.realminfo.com>
1998-11-19 20:22:10 +00:00
Kenneth D. Merry b611e1e3fb Fix a typo in a comment. 1998-11-12 17:47:24 +00:00
David E. O'Brien a87c2a937a Fill-in the manpages a little. 1998-11-12 11:10:26 +00:00
Bruce Evans cffd2ca48b Fixed disorder. 1998-11-10 11:54:29 +00:00
Dima Ruban 57e3cd686c Reenable adjkerntz for alpha. 1998-11-09 21:52:50 +00:00
Don Lewis 508e55f5a4 Fix some calculations that use sizeof to attempt to find the end of an
array that were doing sizeof on an unrelated variable.  This just happened
to work right on the i386, but would not on the alpha.

PR: bin/8427
1998-11-09 03:43:55 +00:00
Poul-Henning Kamp 2b4c0a3bc6 Allow for printing out integer arrays. 1998-11-08 19:27:43 +00:00
Dag-Erling Smørgrav eda1fa0957 Bitch if both an id and a name are specified. Make the man page and usage
message reflect this. As a bonus, make the -n optional so that 'kldunload
name' works as one would expect.
1998-11-07 00:42:52 +00:00
Dag-Erling Smørgrav 9b84d62900 Cosmetic fix (make header align with data) 1998-11-07 00:29:09 +00:00
Alexander Langer ef80de33ad Add an entry for the new NetBSD partition id. 1998-11-06 03:43:21 +00:00
Joseph Koshy d1b7313fca Add an entry for BSD/OS [23].x partition types.
I don't have access to a BSD/OS machine to check the veracity of the
magic number.  However, no harm will be done by the commit and since
someone was motivated enough to file a PR, I'm committing the change.

PR:		7629
Submitted by:	Jos Backus <jbackus@plex.nl>
1998-11-06 03:25:56 +00:00
Matt Jacob 3396608117 For large filesystems you can run past default resource limits causing
fsck to exit unhappily. Fix this by doing a getrlimit/setrlimit for
RLIMIT_DATA. I made the same fix in NetBSD.

Reviewed by:	dg@root.com
1998-11-05 03:26:36 +00:00