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