Commit Graph

995 Commits

Author SHA1 Message Date
Brian Somers 46b2c55966 Suggest using /etc/services entry rather than a
number in the "ipfw add divert" example.
1997-06-24 10:49:44 +00:00
Tor Egge dc6f8d1bd5 Allow use of the name "swap" instead of an actual swap device.
This makes configuration of mfs /tmp on diskless clients more intuitive
for people like me, that have used this feature on NetBSD and SunOS.
Using the -T option and /dev/null, while already supported,
is neither intuitive nor documented in the handbook.
Obtained from: NetBSD
1997-06-23 22:44:51 +00:00
Julian Elischer 135a88d805 Allow ipfw to look up service names from /etc/services (or NIS if turned on)
note.. this would be dangerous if your ipfw was blocking NIS access :)

Submitted by: archie@whistle.com (Archie Cobbs)
1997-06-23 22:32:13 +00:00
Steve Price 681e5e7a09 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
Jordan K. Hubbard c1b792b226 sysconfig -> rc.conf 1997-06-22 14:40:27 +00:00
Brian Somers 24084f9bfc Bring natd into main source tree now that the
pppd/natd combination works ok.

Submitted by:	Ari Suutari <ari.suutari@ps.carel.fi>
1997-06-22 04:19:08 +00:00
Philippe Charnier 210a5dc89f Sync usage string according to man page. 1997-06-19 14:44:24 +00:00
Philippe Charnier 49d430cc1f Cosmetic in usage string. 1997-06-19 14:42:10 +00:00
Philippe Charnier 6da7f3783b Use warn(3). 1997-06-19 14:40:41 +00:00
Philippe Charnier 64c12016e7 Use err(3). Add missing prototypes. Cosmetic in usage string. 1997-06-19 14:38:53 +00:00
Philippe Charnier ac9df8c8e7 Use err(3). Add usage(). 1997-06-19 14:33:42 +00:00
Philippe Charnier a2bfcdfd76 Use err(3). 1997-06-19 14:28:32 +00:00
Philippe Charnier b5f058fc9b Various typos in man page. Cosmetic in usage string. Use err(3) instead
of fprintf. Remove unused variables.
1997-06-18 06:37:23 +00:00
Philippe Charnier 768b3fbd57 Sync man page and usage string. Remove unused -p option from getopt call. 1997-06-18 06:34:28 +00:00
Philippe Charnier 7766b145c4 Sync man page and usage string. 1997-06-18 06:33:11 +00:00
Philippe Charnier eee9b17e46 Sync beetween man page and usage string. 1997-06-18 06:30:34 +00:00
Philippe Charnier 1b6a6c70bb Fprintf -> warn. 1997-06-18 06:28:46 +00:00
Bruce Evans d499a0ef65 Merge from Lite2.
- use new getvfsbyname() interface.
- new -A option, like -a except only mounted file systems are unmounted.

All non-cosmetic FreeBSD changes in umount.c, except ignoring of
realpath() failures, went away because they are done better in Lite2.
realpath() failures must be ignored so that non-pathnames like
"<above>:/foo" and "host:/bar" get as far as mount(2).

Reviewed by:	dfr
1997-06-16 11:20:05 +00:00
Masafumi Max NAKANE cc40ddd9f1 Typo fix.
PR:		3868
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-16 06:54:30 +00:00
Philippe Charnier 098166ed2d Use err(3) instead of local copy. 1997-06-16 06:43:13 +00:00
Philippe Charnier 441f92071b Use err(3) instead of local err() (a errx() like function). 1997-06-16 06:38:14 +00:00
Philippe Charnier 86eaffaf51 Use err(3). 1997-06-16 06:35:23 +00:00
Andrey A. Chernov 545cda7db5 Remove srandomdev fallback 1997-06-14 00:17:53 +00:00
Masafumi Max NAKANE ac162c8fa6 Typo fix.
PR:		3854
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-06-13 20:58:09 +00:00
Philippe Charnier b2d4098533 Remove __progname. Cosmetic in usage string. 1997-06-13 06:27:12 +00:00
Philippe Charnier c584283545 Use err(3). 1997-06-13 06:24:42 +00:00
Philippe Charnier c9ea311a26 Add Id. Staticize usage function. Typo in usage string. 1997-06-11 07:18:18 +00:00
Philippe Charnier 617f1bc8c6 Remove __progname. Make -f a no-op flag as stated in the man page. Remove
unused variables.
1997-06-11 07:13:30 +00:00
Philippe Charnier a1e5f53b8f Add Id. Cosmetic in usage string. 1997-06-10 11:14:04 +00:00
Philippe Charnier bef2080a01 Add Id. Use err(3). Costmetic in usage string. 1997-06-10 11:08:53 +00:00
Philippe Charnier 86d025a068 Remove __progname. Cosmetic in usage string. 1997-06-10 11:04:50 +00:00
Philippe Charnier 4cabb4cdcc Add Id, add usage function. 1997-06-10 11:01:13 +00:00
Philippe Charnier a715c4a4dd Use errx instead of fprintf/exit. 1997-06-04 06:46:09 +00:00
Philippe Charnier f60d7bbf34 Expected to be found in /sbin not /etc. 1997-06-04 06:40:30 +00:00
Brian Somers 4ddd60b905 Number partitions 1-4, not 0-3.
Any existing config files (using the -f option) will need
to be changed although using the old files will usually result
in an error (partition 0 is invalid).
1997-06-03 21:24:39 +00:00
Doug Rabson 6362924f25 Allow the 'async' mount flag. 1997-06-03 13:49:26 +00:00
Justin T. Gibbs 637fe2f7f3 Don't overflow when calculating the size in MB of a partition.
No more 241MB 4+ gig partitions for me!
1997-06-02 19:25:48 +00:00
Julian Elischer e4676ba603 Submitted by: Whistle Communications (archie Cobbs)
these are quite extensive additions to the ipfw code.
they include a change to the API because the old method was
broken, but the user view is kept the same.

The new code allows a particular match to skip forward to a particular
line number, so that blocks of rules can be
used without checking all the intervening rules.
There are also many more ways of rejecting
connections especially TCP related, and
many many more ...

see the man page for a complete description.
1997-06-02 05:02:37 +00:00
Doug Rabson f329f664dd Use realpath on the source as well as the destination. 1997-05-23 17:07:40 +00:00
Doug Rabson 9c63729513 Typo in previous change. 1997-05-23 17:07:00 +00:00
Doug Rabson 43f67e2b2e Generalise the previous change so that only NFS hostnames are looked up.
PR:		bin/3588
Suggested by:	Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
1997-05-16 10:27:02 +00:00
Masafumi Max NAKANE 20aaa0e700 Typo.
PR:		3600
Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-15 09:00:39 +00:00
Alexander Langer c6a01512c6 Minor rewording of the examples section. 1997-05-15 00:51:08 +00:00
Peter Wemm c514950585 Clean up some more. Move parsing of sysctl iflist data into a single
place rather than updating the main loop's index variables from within
a subroutine and other revolting things like that.  Move some more
globals into local variables.
1997-05-10 17:14:53 +00:00
Peter Wemm eca42d3ce0 Grumble.. My last patchup here didn't quite work either. I hate this
program and it's use of global variables.  Somehow, I managed to miss the
most obvious case.. "ifconfig ed0 10.0.0.1" failed (no "inet")

Submitted by: dfr
1997-05-10 14:47:35 +00:00
Doug Rabson a79fe60755 Add utilities for the kernel linker. 1997-05-07 18:19:54 +00:00
Peter Wemm 9c3b235f46 Restore unintentially lost backwards compat behavior of defaulting to
family inet if not specified.  (eg: "ifconfig ed0" down would fail because
no family was specified, even though the up/down status is not per family)

Pointed out by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-05-07 04:28:26 +00:00
Joerg Wunsch ee359f4838 Fix a long-standing bug with dump not treating errors correctly. They
were mishandled as an EOF, which became fatal if your first tape was
accidentally write-protected.

PR:		bin/850 dump treats write-protect as an EOT...
1997-05-06 20:52:28 +00:00
Eivind Eklund b5aa560439 Fix typo.
PR:		Closes PR docs/3488
Submitted by:	k-horik@yk.rim.or.jp
1997-05-04 20:04:59 +00:00
Peter Wemm 9906480a84 Commit hooks for ifmedia support. It's optional in the Makefile, and
can be trivially disabled.
1997-05-04 06:27:45 +00:00