Commit Graph

1323 Commits

Author SHA1 Message Date
Robert Nordier
5a901bd884 Activate newfs_msdos. 1998-07-06 20:05:41 +00:00
Robert Nordier
dc9ef4d1f7 Add newfs_msdos: extensive newfs-style support for creating FAT12,
FAT16, and FAT32 file systems in all their various horriblenesses.

Approved-in-concept by: joerg
1998-07-06 20:01:34 +00:00
Bruce Evans
91ba27a769 ioctl() request args are unsigned longs, so don't attempt to store
them as ints.  Among other bugs, doing so at best caused benign
overflow followed by fatal sign extension on machines with 32-bit
ints and 64-bit longs.
1998-07-06 19:54:39 +00:00
Bruce Evans
517cdb815b Restored rev.1.11, which I somehow clobbered in rev.1.12. 1998-07-06 19:11:35 +00:00
Philippe Charnier
e37a54892b Correct use of .Nm. Spelling. Add rcsid and remove unused #includes. 1998-07-06 07:19:27 +00:00
Philippe Charnier
7b353f1aca -Wall. 1998-07-06 07:17:27 +00:00
Philippe Charnier
46fc8f78df Sync usage string and man page. Correct use of .Nm. Spelling. Remove
unused #includes.
1998-07-06 07:15:53 +00:00
Philippe Charnier
787e61c650 Correct use of .Nm. 1998-07-06 07:13:31 +00:00
Philippe Charnier
bcb1d8469d Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()
strings.
1998-07-06 07:12:38 +00:00
Philippe Charnier
6b5bcce5dc Add rcsid. Remove unused #includes. Spelling. 1998-07-06 07:09:13 +00:00
Philippe Charnier
89a3081b41 Add rcsid, remove unused #includes, spelling. 1998-07-06 07:07:41 +00:00
Philippe Charnier
fbb3447f9c Remove unused #include. Add usage(). 1998-07-06 07:06:15 +00:00
Philippe Charnier
23b5892f5e Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3). 1998-07-06 07:04:50 +00:00
Philippe Charnier
b50d7fae67 Add rcsid. remove unused #includes. Getopt returns -1 not EOF. Add usage().
Cosmetics in err(3) string.
1998-07-06 07:02:26 +00:00
Philippe Charnier
063bb8badc Lowercase 1st char. in err(3) strings. 1998-07-06 06:59:52 +00:00
Philippe Charnier
614a54ebb0 remoce unused #include. 1998-07-06 06:58:32 +00:00
Philippe Charnier
5df42cf4ae Correct .Nm use. Add rcsid. Use min for minutes instead of mn. 1998-07-06 06:56:08 +00:00
Philippe Charnier
e333b9445f Update man page to allow adding address_family when -l is used (this is a no op
for now). Correct use of .Nm. Short usage string (see man page for full list).
Spelling.  Use err(3).
1998-07-06 06:53:43 +00:00
Philippe Charnier
d98b16689b Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused
#includes. Spelling. Use err(3) and add usage().
1998-07-06 06:44:36 +00:00
Julian Elischer
f9e354df42 Support for IPFW based transparent forwarding.
Any packet that can be matched by a ipfw rule can be redirected
transparently to another port or machine. Redirection to another port
mostly makes sense with tcp, where a session can be set up
between a proxy and an unsuspecting client. Redirection to another machine
requires that the other machine also be expecting to receive the forwarded
packets, as their headers will not have been modified.

/sbin/ipfw must be recompiled!!!

Reviewed by:	Peter Wemm <peter@freebsd.org>
Submitted by: Chrisy Luke <chrisy@flix.net>
1998-07-06 03:20:19 +00:00
Brian Somers
357f172839 Make things clearer.
Submitted (some time ago) by: Ted Mittelstaedt <tedm@portsoft.com>
1998-07-04 12:07:03 +00:00
Brian Somers
622366b81d Suggest port 8668 rather than 6668 for natd.
6668 is IRC.
1998-07-04 01:53:54 +00:00
Philippe Charnier
61d20ca30f Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganize
man page.
1998-06-30 06:28:18 +00:00
Philippe Charnier
750f6fe391 Split usage string. 1998-06-30 06:23:42 +00:00
Philippe Charnier
eec2e675fc Document -r flag, document use of TAPE env variable. Add rcsid. Use err(3).
Remove unused vars (-Wall).
1998-06-30 06:22:08 +00:00
Philippe Charnier
c27b7bad4a Do not dot terminate SEE ALSO list. Add rcsid, remove unused #includes. Err(3)
messages should start with a lowercase letter.
1998-06-30 06:18:44 +00:00
Philippe Charnier
9f597f59d5 Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing
#includes. Use err(3).
1998-06-30 06:12:44 +00:00
Philippe Charnier
d286dcb026 Add rcsid. Remove unused #includes. Use err(3). 1998-06-30 06:09:37 +00:00
Bruce Evans
c2deb6082e Don't assume that time_t is long. 1998-06-29 17:54:29 +00:00
Joseph Koshy
a34f78d134 Fix bogon in man page. "-o conn" actually turns off NFSMNT_NOCONN as it is
a "negative" option.  This makes it equivalent to /not/ specifying "-c".
The compile time default is /not/ to have the NFSMNT_NOCONN flag set, so
"-o conn" should never be needed---truly a deprecated option :-).

PR: 6905.
1998-06-29 06:58:46 +00:00
Bruce Evans
ba198492ad Fixed printf format errors. 1998-06-28 20:48:03 +00:00
Bruce Evans
318f0106d9 Fixed printf format errors. 1998-06-28 20:42:49 +00:00
Bruce Evans
00e0c280db Fixed printf format errors, scanf format errors and scanf error handling. 1998-06-28 20:40:51 +00:00
Bruce Evans
836b4a7ff9 Fixed printf format errors. 1998-06-28 20:33:36 +00:00
Bruce Evans
7fafc6f67c Fixed printf format errors. Sure is dusty here. 1998-06-28 20:25:59 +00:00
Bruce Evans
ca46ad5f48 Fixed printf format errors. 1998-06-28 20:11:23 +00:00
Bruce Evans
ce79296f87 Fixed printf format errors. 1998-06-28 19:45:13 +00:00
Bruce Evans
7abda51bbc Fixed printf format errors. 1998-06-28 19:36:49 +00:00
Bruce Evans
b10466261e Fixed printf format errors. 1998-06-28 19:23:03 +00:00
Bruce Evans
ba31b45080 Fixed printf format errors. 1998-06-28 19:06:17 +00:00
Bruce Evans
2a1deaaa04 Fixed printf format errors. 1998-06-28 18:59:04 +00:00
Bruce Evans
58f6798697 Fixed printf format errors. 1998-06-28 18:34:01 +00:00
Bill Paul
021e3d59aa A long time ago I hacked mountd so that it would deal intelligently
with export lines where the same hostname was specified more than once
(this happens a lot with netgroups sometimes). Recently I discovered
that it needs to be hacked to deal with multiple instances of the
same IP address too.

I've been using this modification locally for several months with no
hassles.
1998-06-25 21:26:06 +00:00
Joseph Koshy
6ebaa024df Fixes per PR 2850:
(a) Note that the default securelevel value is -1, in -current and -stable.
(b) Mention kernel sysctl variable that controls securelevel.
(c) Add warning the `fsck' will fail if securelevel >= 2.
(d) Suggest end of /etc/rc as the right place to raise securelevel.

and one spelling fix.

PR: 2850
1998-06-19 08:34:52 +00:00
Joseph Koshy
d00b8231bd Remove reference to non-existent htable(8).
PR: 6940
1998-06-17 13:13:41 +00:00
Joerg Wunsch
01d48801bc Oops, the previous commit missed one line of code. 1998-06-15 15:43:13 +00:00
Joerg Wunsch
9d70a1569c Watch out for null hostnames in netgroup entries, to avoid dumping core.
This happens if someone tries to export to a netgroup like:

mygroup		(,,mynisdomain)
1998-06-15 15:41:41 +00:00
Philippe Charnier
0227048a1f Correct use of .Nm. Use .Bl/.El for enumerating options. Use .An. Correct
formatting of rcsid. Remove unused #includes. Do not use memory after
freeing it.
1998-06-15 07:12:20 +00:00
Philippe Charnier
2d34272b7b Correct use of .Nm. Add rcsid. Remove unused #includes. Use err(3). 1998-06-15 07:07:21 +00:00
Philippe Charnier
8f034b11f2 Capitalize at the start of sentence. Add rcsid. Remove unused #includes.
Use `dumpon' instead of argv[0].
1998-06-15 07:03:47 +00:00