Commit Graph

1209 Commits

Author SHA1 Message Date
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
Mike Smith
0c473d5219 Document the enhanced behaviour of the '-c' flag. 1998-02-10 00:17:44 +00:00
John Hay
3142ca45f1 opt_diagnostic.h isn't needed anymore. 1998-02-06 22:31:14 +00:00
John Hay
1420147475 fsdb and fsck use the ffs code which needs opt_diagnostic.h. 1998-02-05 14:31:05 +00:00
Bruce Evans
82000ec41c Fixed the previous fix. The original path was annulled when it
was a directory, so the error message for attempting to unmount
an unmounted-on directory was more broken than before.
1998-02-03 17:23:26 +00:00
Bruce Evans
743d5543e2 Don't define KERNEL before including <nfs/nfs.h>. It is no longer
necessary.  This fixes warnings about missing forward declarations
for structs in kernel-only prototypes.
1998-02-01 21:53:19 +00:00
Steve Price
fcc7dccff6 Spell 'implements' correctly.
PR:		5614
Submitted by:	Dag-Erling Coidan Smorgrav <dag-erli@ifi.uio.no>
1998-02-01 07:03:29 +00:00
Steve Price
84b9f7a718 Revert last commit and SEE ALSO pstat(8) instead.
Submitted by:	Bruce Evans
1998-02-01 06:46:37 +00:00
Poul-Henning Kamp
6b2c0adbe8 Retire dumplfs, mount_lfs and newlfs 1998-01-30 12:40:57 +00:00
Poul-Henning Kamp
fe3915bd64 Retire dumplfs mount_lfs newlfs 1998-01-30 12:39:18 +00:00
Brian Somers
f7d1db72cf Make it clear that aliasing is done on the public interface, not
the private one.
1998-01-29 00:40:41 +00:00
Steve Price
1717267a28 SEE ALSO swapinfo(8).
PR:		5447
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-01-25 17:28:52 +00:00
John Birrell
155ad7517d signal() returns an pointer, so must be cast to long, not int before
comparing < 0.
1998-01-25 09:16:55 +00:00