Commit Graph

1421 Commits

Author SHA1 Message Date
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
Philippe Charnier 074fad210f Add rcsid. Remove unused #includes. 1998-06-15 07:00:01 +00:00
Philippe Charnier 7580ffbbbd Correct use of .Nm. Add rcsid. Remove unused #includes. 1998-06-15 06:58:13 +00:00
Peter Wemm bf0b255967 Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.
Without this, <link.h> defines stuff for elf linking which is not
what ldconfig needs.
1998-06-12 10:43:18 +00:00
Bruce Evans 677b9b3f7c Print the write counts if they are nonzero even if we're mounted
readonly, since they tell us about previous write activity.

Use the correct format to print the write counts.
1998-06-08 14:08:54 +00:00
Philippe Charnier 65b4c10030 Add rcsid, remove unused #includes. Use err(3). 1998-06-08 06:44:05 +00:00
Philippe Charnier 3121d4cbe0 Use warnx()+fprintf() to handle multi-line messages. Correct K&R support and
KNF continuation indent rule.
Requested by: Bruce.
1998-06-08 06:41:47 +00:00
Daniel O'Callaghan 20d3783ac9 Fix typo: exit -> exist 1998-06-08 02:00:45 +00:00
Peter Hawkins ce4a641c8b PR: docs/3636
Submitted by:	Gary Palmer gpalmer@FreeBSD.ORG
Add mention of the 1024-character line length limit on the netgroup database.
1998-06-07 15:08:50 +00:00
John Birrell fa05a94c42 Fix an alignment problem on alpha by doing a bytewise copy. 1998-06-06 23:33:28 +00:00
Julian Elischer c2a239ebc7 Reviewed by: Kirk Mckusick (mckusick@mckusick.com)
Submitted by:	luoqi Chen
fix a type in fsck.
(also add a comment that got picked up by mistake but is worth adding)
1998-06-05 23:33:26 +00:00
Steve Price 8588641614 Fix a spelling error.
PR:		6857
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:09:08 +00:00
Philippe Charnier 970cd28246 Use .Pa for filenames. Use .Bl/.El in FILES section. Remove unused #includes. 1998-06-04 06:51:14 +00:00
Philippe Charnier 6bd343a92d Add section number to .Xr. Use of .Nm. Typo. Add rcsid. Remove unused
#includes. Use err(3).
1998-06-04 06:49:13 +00:00
Philippe Charnier ec74b3f3ea Correct .Nm. Spelling. Add rcsid, remove unused #includes. Add usage(). Do not
dot-terminate errx() strings.
1998-06-04 06:44:18 +00:00
Philippe Charnier 9ad54eb7b3 Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused
#includes and make it a little more -Wall-friendly.
1998-06-04 06:41:26 +00:00
Philippe Charnier 437e1c4474 Correct use of .Nm. Add section number to .Xr. Add rcsid, usage(). Use err(3). 1998-06-04 06:38:03 +00:00
Philippe Charnier f9184dd719 Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include. 1998-06-04 06:35:12 +00:00
Joseph Koshy 9595a75afa Spelling corrections.
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
Joseph Koshy 5caffabdc3 Correct typo.
PR: 6844
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
1998-06-03 03:59:00 +00:00
Peter Wemm aa9ba0d726 SUBDIR += ldconfig 1998-06-01 14:12:48 +00:00
Peter Wemm af6b4e9098 Build ldconfig in /sbin environment directly, rather than under the gnu ld
directory.  The rcs files were repository copied.
1998-06-01 13:58:19 +00:00
Bruce Evans 5a3e77d851 Fixed overflow in the calculation of the number of inodes per group
for filesystems with almost the maximum number of sectors.  The maxiumum
is 2^31, but overflow is common for that size, and overflow normally
occurred here at size (2^31 - 4096).
1998-05-31 12:21:50 +00:00
Joseph Koshy d2d38aa2d7 Use the correct macro for file names. Remove empty `HISTORY' section.
PR: 6780
Submitted by: Yoshishige Arai <ryo2@on.rim.or.jp>
1998-05-29 10:15:28 +00:00
Joseph Koshy e44af4db8d Correct manual page, based on feedback from Bruce Evans.
Reviewed by: Bruce Evans <bde@freebsd.org>
1998-05-27 11:05:59 +00:00
Søren Schmidt cabb97dcbf ELF preparation step 2:
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
Bill Fenner 039d6aa45a Use select() timeouts instead of SIGALRM to schedule packet transmission.
Fixes bin/6649 and removes the last abusive signal handler.
Use SO_TIMESTAMP to get the kernel to timestamp packets on reception.
 Fixes bin/5658 and provides slightly better accuracy.
Explicitly zero and terminate the IP options when using -R.

PR:		bin/5658
PR:		bin/6649
1998-05-25 20:16:05 +00:00
Joseph Koshy bb556bcf30 Manual page fix: add cross references, refer to ``dumpdev'' variable in
"/etc/rc.conf".

PR: 6117
Submitted by: Mark Mayo <mark@vmunix.com>
1998-05-25 08:54:40 +00:00
Steve Price dd033c223d Revert the previous fix. As it turns out Warner Losh is
working a better fix.
1998-05-25 06:53:17 +00:00
Steve Price a39f52db0f Attempt to stop another DoS attack related to ping flooding.
PR:		6649
Submitted by:	Jason Young <doogie@forbidden-donut.anet-stl.com>
1998-05-25 03:50:51 +00:00
James Raynard 4b3b45a7a2 Fix typo in prompt. 1998-05-20 22:23:16 +00:00
Daniel O'Callaghan dcf2c48fc9 Reminded by: Alex Nash
Bring man page up to date with -q flag behaviour.
1998-05-19 12:50:35 +00:00
Poul-Henning Kamp 58067a9909 Make the size of the msgbuf (dmesg) a "normal" option. 1998-05-19 08:58:53 +00:00
Peter Wemm c92e3fa533 Support changing the attribute cache limits per-mount. We don't have
many option letters left, I used long names only (like the previous
port= option)
1998-05-19 07:18:28 +00:00
Masafumi Max NAKANE 432a1104b6 Typo fix. 1998-05-19 03:10:14 +00:00
John Birrell ce27694fab Make this safe for an alpha build, leaving out just about everything
that has some sort of kernel issue associated with it.
1998-05-18 04:46:29 +00:00
Dmitrij Tejblum 0580d32288 Remove extraneous ")" from output. 1998-05-17 21:57:17 +00:00
Bill Fenner 4a3bf3b27c Turn on TCP_NODELAY on the remote socket, to turn off sender silly window
syndrome avoidance.  The combination of SWS avoidance and ack-every-other
 causes low throughput if the block size divided by the MSS is odd (which
 is true with the default block size and MSS).
Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance.
 The rdump request/response protocol can not invoke Nagle and cannot cause
 SWS, so this has no negative effects.
1998-05-17 06:39:38 +00:00
John Birrell d32ff0376f When a timeval is stored at the beginning of icmp_data, the fields
are unaligned for access by the alpha, so copy the value to a variable
that is aligned.

When checking the returned data, be careful to avoid confusing the
size of the icmp header with the size of a timeval. On i386 these
are both 8, but on alpha, a timeval is 16 bytes. This means that
a packet sent from an alpha contains 48 bytes of data, not 56 like
on i386.
1998-05-16 00:19:27 +00:00
Daniel O'Callaghan 0eaa45335d PR: 6641
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Make -q work for zeroing a specific rule.
1998-05-15 12:38:07 +00:00
Poul-Henning Kamp 777558c3ce The SYNOPSYS of mount_umap(8) says
mount_umap [-o options] target mount-point uid-mapfile gid-mapfile

This should read

     mount_umap [-o options] -u uid-mapfile -g gid-mapfile target mount-point

PR:		6586
Reviewed by:	phk
Submitted by:	Amakawa Shuhei amakawa@hoh.t.u-tokyo.ac.jp
1998-05-13 08:02:50 +00:00
Poul-Henning Kamp bc345ec5bf The description of the format of the id mapfile is wrong. You have
to write an original-id and a local-id in the other way around.

PR:		6593
Reviewed by:	phk
Submitted by:	Amakawa Shuhei <amakawa@hoh.t.u-tokyo.ac.jp>
1998-05-13 08:01:00 +00:00
Peter Wemm 428fb2dd11 Fix PR 1607, hopefully without breaking the PR 5208 fixes.
umount() was trying to stat() the mountpoint, this would fail if the
mountpoint was a NFS mountpoint, and the fallback code would try and pass
a hostname:/dir path as the mountpoint to unmount(2), which would fail.

This whole stat() of the name supplied on the command line business is
trouble as it'll wedge on a hung NFS mount.

I'm not entirely sure why we are not simply looking up both arguments
in the mount table and doing the right thing without accessing the
filesystem.  It seems that we're going to a lot of trouble to allow
mountpoints on symlinks and other wierd things.

PR: 1607
1998-05-11 07:38:42 +00:00
Steve Price f135a2b210 Fix minor typo.
PR:		6571
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-05-10 16:35:31 +00:00
Jordan K. Hubbard 2640840497 Well, nobody objected, so here's my -u (unlink) flag to restore. 1998-05-09 05:23:02 +00:00
Philippe Charnier 59edad7a5c Add usage() and rcsid. Getopt() returns -1 not EOF. Remove unused #includes.
Use .An/.Aq in man page.
1998-05-05 06:24:15 +00:00
Peter Wemm e2b2b07689 Mention the 2GB NFS v2 filesize limit.
PR: 6335
Submitted by: tom@sdf.com
1998-05-01 13:52:17 +00:00
Peter Wemm 732aba2af7 Don't give examples or use the depreciated usage to nfsd
PR: 5635
1998-05-01 13:45:04 +00:00
Poul-Henning Kamp 862a7e9c36 say a few words about the -b option.
Reviewed by:	Bill Trost <trost@cloud.rain.com>
1998-04-26 18:15:38 +00:00
Poul-Henning Kamp e72f5a72fd Add warning about root-fs blocksize expectations.
PR:		4485
Reviewed by:	phk
Submitted by:	Kees Jan Koster <kjk1@ukc.ac.uk>
1998-04-26 17:44:23 +00:00
Poul-Henning Kamp 4419bba9fb When ipfw reads its rules from an input file, the optind variable is
not reinitialized to 1 after calling getopt. This results in parsing
errors on all but the first rule. An added patch also allows '#'
comments at the end of a line.

PR:		6379
Reviewed by:	phk
Submitted by:	Neal Fachan <kneel@ishiboo.com>
1998-04-22 06:20:20 +00:00
Robert Nordier 25ab4f55c1 Check bytes read to prevent random error message. 1998-04-20 14:09:40 +00:00
Poul-Henning Kamp 0a61a2c2ce Problem whith "subnet=" statement in /etc/gateways.
routed discards the first character of the network address.
Example: "subnet=10.0.0.0/24,1"
The network address is interpreted as 0.0.0.0/24,1.
PR:		4825
Reviewed by:	phk
Submitted by:	Mike E. Matsnev <mike@azog.cs.msu.su>
1998-04-19 17:53:16 +00:00
Brian Somers 635225ca84 Fix incorrect flag spec
PR:		6339 (part of)
Submitted by:	Chris Dillon <cdillon@wolves.k12.mo.us>
1998-04-18 10:05:38 +00:00
Poul-Henning Kamp 416aa49b70 If ping write fails with short packet count, the
error message prints the two numbers backwards.
PR:		6313
Reviewed by:	phk
Submitted by:	Archie Cobbs
1998-04-15 19:55:14 +00:00
Poul-Henning Kamp dfed2de6cc Remove these copies, they now live the right place. 1998-04-12 10:45:11 +00:00
Poul-Henning Kamp 707194943c Change noc-tun to nos-tun after Peter did the repository copy to cover
up the tracks of my blunder.
1998-04-12 10:44:24 +00:00
Andrey A. Chernov 84436e33cb Implement Helbig idea of offset calculation reducing mktime() calls
Immediately exit if /etc/wall_cmos_clock not present
1998-04-11 21:18:55 +00:00
Poul-Henning Kamp 2d84ac5722 Add noc-tun to list 1998-04-11 20:03:05 +00:00
Poul-Henning Kamp e66dbdb6c0 Program which implements "nos" alias "ka9q" alias "IP-IP" tunnels.
PR:		1154
Reviewed by:	phk
Manpage by:	phk
Submitted by:	Nickolay N. Dudorov nnd@itfs.nsk.su
1998-04-11 19:33:06 +00:00
Wolfram Schneider 5ddc8ded1d New mount option nosymfollow. If enabled, the kernel lookup()
function will not follow symbolic links on the mounted
file system and return EACCES (Permission denied).
1998-04-08 18:31:59 +00:00
Martin Cracauer d6b37778e9 (evil) hackers -> crackers 1998-04-08 12:00:48 +00:00
Bruce Evans 33e6082253 Guess the position of the drive number in the device name better so
that `fsck -p' doesn't check multiple slices on the same drive
concurrently.  Don't invoke undefined behaviour when searching for
the drive number in strange device names.

PR:		6129
Reviewed by:	phk
Submitted by:	Yuichi MATSUTAKA <matutaka@osa.att.ne.jp>, but rewritten
		by me.
1998-04-07 12:43:57 +00:00
Warner Losh 47b630b949 Add aback in a line a accidentally killed in my last commit.
Submitted by:	Bill Fenner
1998-04-02 04:33:18 +00:00
Eivind Eklund 3aa4b74433 Make this compile (and seemingly work). 1998-04-02 01:12:55 +00:00
Warner Losh c03e877a88 A fairly rare possible buffer overflow:
Theo fixed this and tqbf reported it
Obtained from: OpenBSD
1998-04-01 00:32:18 +00:00
Poul-Henning Kamp 90455566ee Pickup _time_second instead of _time 1998-03-30 10:10:29 +00:00
Andrey A. Chernov 20344e1582 Add workaround suggestion for 'nonexistent time' diagnostic 1998-03-30 09:29:47 +00:00
David E. O'Brien 680426be8f Add NTFS partition type.
Add "." at the end of some sentances.
Also print "flag 80" in English.
Give hint that "sysid" for FreeBSD is 165 decimal.
Ensure active partition specified by user is 1-4.
1998-03-29 23:41:51 +00:00
Peter Wemm 1cd2698705 Don't print the 'writes: sync & async' stuff if we're mounted readonly
or if the fs isn't keeping the stats..
1998-03-27 10:52:13 +00:00
Jordan K. Hubbard b535f1bace The logic in tape.c:getfile() doesn't allow for a filesystem
with a blocksize smaller than the tape block size. The problem
        seems to be most easily fixed by changeing where fssize is set.

PR:		5704
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1998-03-23 23:19:14 +00:00
Philippe Charnier f12a14713b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
Daniel O'Callaghan 048362aaa8 PR: 6104
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
Fix typo
1998-03-23 06:36:57 +00:00
Peter Wemm 5021f7402d Initial bmake scaffolding for ipfilter userland stuff.
Obtained from: large chunks stolen from OpenBSD and NetBSD
1998-03-21 13:53:18 +00:00
Eivind Eklund 83e6569390 Make 'ifconfig -l ether' only list Ethernet interfaces. This is
useful, intuitive, and match the old comments in the source.
Previously, 'ifconfig -l ether' and 'ifconfig -l' were equal.
1998-03-19 20:58:45 +00:00
Philippe Charnier db439b3aaa Use .An/.Aq. 1998-03-19 07:47:10 +00:00
Philippe Charnier 68085a0ef1 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-19 07:46:04 +00:00
Andrey A. Chernov 26555b64bc Add more DOS/Win95 partition types 1998-03-14 21:22:09 +00:00
John Birrell 5c931089a9 Some things only work on i386. 1998-03-13 19:41:06 +00:00
Alexander Langer 585054bfa6 Get the arguments to show_usage right (like the MFC'ed code in -stable).
Submitted by:	bde
1998-03-13 02:31:21 +00:00
Andreas Klemm dc3b98df0e set timeout to 4 hours, large disks take a long time to low level format. 1998-03-09 21:54:20 +00:00
John Polstra fbc4f4fd31 Fix a type mismatch between a scanf format string and the
corresponding argument.
1998-03-08 23:57:00 +00:00
Steve Price 227776616a Make this compile again.
PR:		5948
Submitted by:	Brian Feldman
1998-03-08 19:03:05 +00:00
Mike Smith 95f37fa61f If we are mounting the root filesystem, and we're accessing it through
something that might refer to the compatability slice rather than the
correct slice entry, try all the possible slice entries first.

This is a compatability hack to deal with the case where the kernel has
correctly mounted the root filesystem out of its slice, but the user
has not updated their /etc/fstab file to reflect this.  A diagnostic
is emitted if the mount succeeds, indicating that the file should be
updated.

This is a prelude to fixing the kernel to behave as alluded to above.
Reviewed by:	(discussed with) julian, phk
1998-03-08 14:50:04 +00:00
Julian Elischer b1897c197c Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)
Submitted by:	Kirk McKusick (mcKusick@mckusick.com)
Obtained from:  WHistle development tree
1998-03-08 09:59:44 +00:00
Andrey A. Chernov 8a9f6ff89d Oops, merge back 32bit fat description from -stable.
It was added to -stable but not to -current, strange.
1998-03-07 22:00:31 +00:00
Andrey A. Chernov 56b19102ab Add primary fat-32 1998-03-07 08:45:46 +00:00
Poul-Henning Kamp c5d3d7fd74 If numdirs is zero, print a helpful message instead of divding by zero later. 1998-03-04 18:03:54 +00:00
James Raynard 39034633c8 Don't assume sigset_t and int are equivalent. 1998-03-02 23:19:29 +00:00
Joerg Wunsch 2c122f3b6a Andreas Klemm reported that 2 hours are too few to format a 9 GB
Barracuda.  Bump the timeout to 3 hours.
1998-03-01 20:15:00 +00:00
Andrey A. Chernov 1cca86f4e8 Add more info about special characters in dos2unix/unix2dos tables 1998-03-01 08:41:05 +00:00
Andrey A. Chernov 57394688f8 Minimize clock drift between getting and setting time
Submitted by: bde
1998-02-25 09:40:21 +00:00
Bruce Evans abfb53239c Fixed annoying warning for unused sccsid. 1998-02-24 01:36:58 +00:00
Andrey A. Chernov cd913a5dca Add more info about -W option 1998-02-23 17:29:08 +00:00
Andrey A. Chernov 28847281dd Note that default local charset assumed as ISO 8859-1 1998-02-23 17:20:07 +00:00
Andrey A. Chernov 9934eb16d3 Implement loadable DOS<->local conversion tables for DOS names
Additionly load toupper table to create DOS names always in uppercase
1998-02-23 16:49:16 +00:00
Andrey A. Chernov 2183143825 Implement loadable upper->lower local conversion table
Recently introduced -w renamed to -W
1998-02-23 09:41:02 +00:00
Andrey A. Chernov c4040ee87d Add missing DESTDIR 1998-02-23 09:15:01 +00:00
Andrey A. Chernov 4e3e206ed7 Add loadable local<->Unicode conversion support for Win95 names
Note: DOS names still not work and require similar changes
1998-02-22 15:28:06 +00:00
John Birrell d371a23e0b Remove the casts on signal() returns and compare the returned value
with SIG_ERR to detect the error case.

Suggested by: bde.
1998-02-20 07:28:50 +00:00
Jordan K. Hubbard a92aaa1aa0 Support for FAT32 partitions.
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Obtained from:	NetBSD
1998-02-18 09:30:31 +00:00
Bruce Evans f1d7b4203c Converted putfsent() to Lite2 mount interface - don't use numeric
filesystem types.
1998-02-13 04:54:27 +00:00
Alexander Langer ce78a1f6dd Alter ipfw's behavior with respect to fragmented packets when the packet
offset is non-zero:

  - Do not match fragmented packets if the rule specifies a port or
    TCP flags
  - Match fragmented packets if the rule does not specify a port and
    TCP flags

Since ipfw cannot examine port numbers or TCP flags for such packets,
it is now illegal to specify the 'frag' option with either ports or
tcpflags.  Both kernel and ipfw userland utility will reject rules
containing a combination of these options.

BEWARE: packets that were previously passed may now be rejected, and
vice versa.

Reviewed by:	Archie Cobbs <archie@whistle.com>
1998-02-12 00:57:06 +00:00