Commit Graph

815 Commits

Author SHA1 Message Date
julian
918f04c032 Add support to halt, to allow it to request that the power be turned off
(the RB_POWEROFF flag)
1996-08-24 01:40:02 +00:00
mpp
2370082340 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mpp
3af6efec9f Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
mpp
0da347e402 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
fenner
ae78f84561 Print out ICMP errors that are responses to our own packets by default.
Turn this behavior off using '-Q'.  This makes '-v' useless other than as
an ICMP-sniffer, which tcpdump is better at anyway.

Print out another couple of ICMP messages, and fix the printing of the
original packet (mostly byte order problems).
1996-08-20 23:50:16 +00:00
wosch
5b1f465721 a header file for zopen.3
Pointed out by: Philippe Charnier <charnier@lirmm.fr>
1996-08-20 20:49:39 +00:00
julian
fe844030de back out a part of the previous patch that garrett objected to.. 1996-08-19 18:52:49 +00:00
julian
26e447cff9 Submitted by: Archie@whistle.com
if making a interface route, and it's a P2P link,
then also automatically lable it as an llinfo entry so that
gated and friends don't clobber it..
1996-08-13 22:20:20 +00:00
pst
ed54108cc7 Completely rewrite handling of protocol field for firewalls, things are
now completely consistent across all IP protocols and should be quite a
bit faster.

Use getprotoname() extensively, performed minor cleanups of admin utility.
The admin utility could use a good kick in the pants.

Basicly, these were the minimal changes I could make to the code
to get it up to tollerable shape.  There will be some future commits
to clean up the basic architecture of the firewall code, and if
I'm feeling ambitious, I may pull in changes like NAT from Linux
and make the firewall hooks comletely generic so that a user can
either load the ipfw module or the ipfilter module (cf Darren Reed).

Discussed with: fenner & alex
1996-08-13 19:43:24 +00:00
pst
d5a2ef8561 Attempt to unlink any stale .o files before relocating code.
Abort if a file is still present, and make output file mode 0600.

Reviewed by:	bde
1996-08-13 00:50:59 +00:00
pst
59e5ce754b Cover a potential buffer overrun problem 1996-08-13 00:43:01 +00:00
pst
d9c426a355 Fix tcp/udp port ranges 1996-08-13 00:41:05 +00:00
julian
6ab541b861 Reviewed by: julian
Submitted by:	archie@whistle.com

This patch allows true interface routing to be controlled
from the command line..
you can now do:
route add default -interface ppp0
even if you have no clue what the address at the other end is..

this is part of a set of changes that allow true "unnumbered links"
such as netcom run between their sites..
In practice you should assign the address from one of your ethernet
interfaces to the local side of the P2P link so that IP doesn't
say that the packet comes from 255.255.255.255, but
there is no need whatsoever to assign an address of any kind
to the remote end of the link.. useful for frame relay links etc also.
1996-08-09 22:52:02 +00:00
julian
4d2556d0ad add nextboot by default
its's proven to be quite reliable.
1996-08-09 22:44:55 +00:00
julian
0238484748 slight man page additions re: deficiencies 1996-08-09 22:41:57 +00:00
fenner
624ac9582b Drop setuid ASAP, to minimize code executed as root.
Reviewed by:	pst
1996-08-09 06:00:53 +00:00
julian
a466536f85 Submitted by: archie@whistle.com
slight cleanups
1996-08-07 00:39:41 +00:00
alex
c7a86a3c2b Filter by IP protocol.
Submitted by: fenner (with modifications by me)

Bring in the interface unit wildcard flag fix from rev 1.15.4.8.
1996-08-05 02:38:51 +00:00
markm
401479292e Add relevant files to the FILES section
Submitted by:	Julian H Stacey
1996-08-03 19:13:35 +00:00
bde
348268374e Document that the major and minor numbers are parsed by strtoul(). 1996-07-30 17:44:36 +00:00
bde
2610a106d1 Use strtoul() more carefully.
Check that the major and minor are valid.

Don't print `.' at the end of error messages.

Fixed all warnings from "cc -Wall".
1996-07-30 17:43:21 +00:00
peter
f5dd57b9eb Limit the risk of `buf' overrun in ping.c when printing hostnames.
Note, this is not really a security risk, because the buffer in question
is a static variable in the data segment and not on the stack, and hence
cannot subert the flow of execution in any way.  About the worst case was
that if you pinged a long hostname, ping could coredump.

Pointed out on: bugtraq  (listserv@netspace.org)
1996-07-28 20:29:10 +00:00
joerg
adafacbcb0 Finally use strtoul() to convert the major an minor numbers, so
proper error-checking can be done, and octal and hexadecimal
numbers are allowed.
1996-07-27 17:24:55 +00:00
julian
6841938d0f Submitted by: archie@whistle.com
slight cleanups on yesterday's patches
1996-07-23 22:00:14 +00:00
jkh
49983fbdd6 When running 'rrestore foo', you get a segmentation fault because
the obsolete() function to convert dump-style args to getopt-style
args doesn't check to see that 'f' really has an argument following
the option string in argv[1].

Submitted-By: jmacd
1996-07-23 19:33:44 +00:00
peter
718b6b2f19 mount_ext2fs somehow got a stray mntopts.h, which was out of sync with
the real ../mount/getmntopts.c and ../mount/mntopts.h
Closes PR#1419

Submitted by: rhh@stealth.ct.picker.com (Randall Hopper)
1996-07-23 19:29:27 +00:00
julian
e5e06da05a Submitted by: archie@whistle.com
appletalk cleanups
1996-07-23 01:18:47 +00:00
jkh
145ba163a3 I have added a new option -p to the mount command. This was
inspired by SunOS version of mount which uses option -p to
indicate that the mount information should be printed in fstab
format.
This is a neat way to create a new fstab file to use later when
one has modified the mount points or mount options or added or
removed mount some mount points. You just type

	mount -p > /etc/fstab.new

and there is your new fstab file ready to be used though you
will of course have to add any necessary noauto flags manually.

[Committers note:  This also seems to do the wrong thing for AMD
 mounts, but in the more average case this is a nifty feature nonetheless
 and one can always edit the bogus entries out]

Submitted-By: Jukka Ukkonen <jau@jau.csc.fi>
1996-07-21 23:34:04 +00:00
alex
616a04e507 Grammar fix described by wollman in response to PR 1363. 1996-07-14 17:51:08 +00:00
jkh
97de575586 General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
julian
6778941636 Adding changes to ipfw and the kernel to support ip packet diversion..
This stuff should not be too destructive if the IPDIVERT is not compiled in..
 be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
nate
9f897b15f2 Now that we have a manpage, don't have the 'clean' target be a NO-OP. 1996-07-10 18:36:41 +00:00
julian
8c2c8bc29e changes to allow route to manipulate appletalk routes. 1996-07-09 19:02:28 +00:00
julian
4be7c44d4c Submitted by: Archie@whistle.com
Obtained from: Whistle Communications
patches to allow ifconfig to work with appletalk addresses etc.
1996-07-09 02:38:13 +00:00
julian
45eaf3a91b oops, make the magic number match that used in the bootblock..
I guess we should have a single place for this??
1996-07-09 02:10:16 +00:00
julian
1bca11fb5a Obtained from: Whistle Communications
control program to control the facility of the bootblocks
to fetch a default bootstring from a fixed location on the disk.

See the manpage for more info.
1996-07-09 02:04:32 +00:00
wosch
e114824086 Document that suid wrapper like suidperl(1) break option 'nosuid'. 1996-07-02 23:18:38 +00:00
alex
60f36531ca Correct definition of 'established' keyword. 1996-07-02 00:29:22 +00:00
alex
48e77be56d Formatting fixes for 'in' and 'out' while listing.
Prevent ALL protocol from being used with port specifications.

Allow 'via' keyword at any point in the options list.  Disallow
multiple 'via' specifications.
1996-06-29 01:28:19 +00:00
alex
f6373b99fb Fix port specification syntax.
Submitted by:	nate
1996-06-29 01:21:07 +00:00
alex
339c2c9f8d Fix address mask calculation when using ':' syntax. Allow a mask
of /0 to have the desired effect.  Normalize IP addresses that
won't match a given mask (i.e. 1.2.3.4/24 becomes 1.2.3.0/24).
Submitted by R. Bezuidenhout <rbezuide@mikom.csir.co.za>

Code formatting and "frag" display fixes.
1996-06-23 20:47:51 +00:00
peter
2d3b4c2842 Fix a couple of bogus casts to off_t that caused dumpfs to lseek negative
on filesystems > 2GB (which causes the disk slice code to call Debugger!!)
1996-06-23 00:05:04 +00:00
alex
91b13927bd Code clean up. Prototypes, parentheses around assignments used in
if statements, #if 0 some unused code, use off_t in calls to read/
write_disk, fix a printf format, remove unused variables, and
#include necessary files.
1996-06-21 02:39:19 +00:00
alex
4674754eec Add #include <err.h>. 1996-06-19 01:49:01 +00:00
alex
45f4495aad Set the program name before trying to use it.
Found by: Aage Robekk <aagero@aage.priv.no>
1996-06-18 01:46:34 +00:00
bde
2c595a15c0 Moved initialization of defaults for the label for the whole disk from
disklabel(8) to the kernel (dsopen()).  Drivers should initialize the
hardware values (rpm, interleave, skews).  Drivers currently don't do
this, but it usually doesn't matter since rotational position stuff is
normally disabled.
1996-06-17 14:43:54 +00:00
alex
ce32ab6c9b Fix a typo in the view accounting records example. 1996-06-15 23:01:44 +00:00
alex
6e2846f8c9 Bring the man page more into line with reality. 1996-06-15 01:38:51 +00:00
asami
44a0d9b11d Our kernel is not called /netbsd. ;)
Submitted by:	"Philippe Charnier" <charnier@lirmm.fr>
1996-06-14 10:51:47 +00:00
alex
7dddaa5e75 Big sweep over ipfw, picking up where Poul left off:
- Filter based on ICMP types.
  - Accept interface wildcards (e.g. ppp*).
  - Resolve service names with the -N option.
  - Accept host names in 'from' and 'to' specifications
  - Display chain entry time stamps with the -t option.
  - Added URG to tcpflags.
  - Print usage if an unknown tcpflag is used.
  - Ability to zero individual accounting entries.
  - Clarify usage of port ranges.
  - Misc code cleanup.

Closes PRs: 1193, 1220, and 1266.
1996-06-09 23:46:22 +00:00
ache
d8442a61a3 Return make_union, s-bit removed 1996-05-19 17:24:10 +00:00
pst
98ef61b0f1 Disable setuid permission for mount_union(1).
This covers the security problem descibed in SA-96:10 and Jeff says that
when we upgrade to Lite2 (which fixes this problem), mount no longer needs
to be setuid, so we'll never be going back.

Submitted by:	hsu
Reviewed by:    pst
1996-05-17 22:46:01 +00:00
jkh
b7108c2d35 Large security hole in mount_union, the underlying filesystem for which doesn't
even work.  Until pst wakes up, best action deemed to be the simple disabling
of this command.
1996-05-17 08:48:50 +00:00
wollman
6993917031 Accept mount(8)'s calling convention of passing just the filesystem type
as argv[0].
1996-05-14 15:16:49 +00:00
wollman
82145cd79a One program I missed in removing MOUNT_* constants. 1996-05-13 17:56:34 +00:00
wollman
8531aa13ac Get rid of the last vestiges of the old MOUNT_* constants in the
mount_* programs.  While we're at it, collapse the four now-identical
mount programs for devfs, fdesc, kernfs, and procfs into links to
a new mount_std(8) which can mount any really generic filesystem
such as these when called with the appropriate argv[0].

Also, convert the mount programs to use sysexits.h.
1996-05-13 17:43:19 +00:00
jkh
4fee73a7df Document LFS as broken. 1996-05-12 11:12:17 +00:00
phk
457d46f306 Some cosmetics and some better error-checking.
Reviewed by:	phk
Submitted by:	"Daniel O'Callaghan" <danny@panda.hilink.com.au>
Submitted by:	Archie Cobbs <archie@whistle.com>
1996-05-11 20:31:55 +00:00
nate
3656a84dbf From: Terry Lambert <terry@lambert.org>
Subject: Fix for annoying fsck bug
Date: Wed, 24 Jan 1996 13:33:29 -0700 (MST)

The following small diff fixes the annoying fsck bug that causes it to
need to be run twice to end up with correct reference counts for inodes
for directories that had subdirectories relocated into the lost+found
directory.

I found the need to rerun *extremely* annoying.  This fix causes the
count to be correctly adjusted later in pass 4 by correctly stating
the parent reference count.

Note that the parent reference count is incremented when the directory
entry is made (for ".."), but is not really there in the case of a
directory that does not make an entry in its parent dir.

This can be tested by waiting for the inode sync after cd'ing from a
shell into a test fs.  Then you "mkdir xxx yyy zzz", wait a second,
and hit the machine reset button.

Reviewed by:	nate (Tested lots of crashes :)
Submitted by:	Terry Lambert <terry@lambert.org>
1996-05-09 16:38:27 +00:00
wollman
1f792828ed Update route(8) to print out current meanings of rt_flags RTF_* bits. 1996-05-08 20:48:59 +00:00
asami
298006d865 Connect ccd man page and ccdconfig to parent Makefiles.
Ok'd by:	peter
1996-05-04 08:30:22 +00:00
markm
6eee7b4f63 Better method of choosing libdescrypt/libscrypt. 1996-05-04 08:16:20 +00:00
markm
1dec21f5b8 Split CRYPTOBJDIR -> SCRYPTOBJDIR/DESCRYPTOBJDIR for init(8) 1996-05-04 08:11:47 +00:00
joerg
13575ce50d Stupid bug, the default man page goes to section 1, not 8.
Closes PR #misc/1172: Error in sbin/dset/Makefile

Submitted by:	masafumi@tky007.tth.expo96.ad.jp (Masafumi NAKANE)
1996-05-03 18:09:06 +00:00
mpp
bc100ca046 Specify FreeBSd on the .Os line, since this is a FreeBSD-specific
program.  Use the .Fx (FreeBSD) macro in the HISTORY section.
1996-05-02 22:34:19 +00:00
joerg
295426f547 Oops, forgot to `cvs add' this one first... 1996-05-02 21:47:45 +00:00
joerg
0067e451b7 Add a man page. 1996-05-02 21:42:18 +00:00
phk
59a63fa06a NBPG -> getpagesize() 1996-05-02 09:09:04 +00:00
bde
f2a7970da5 Default to udp if neither udp nor tcp is specified. The previous revision
was broken.  It forced udp in all cases except the extremely unusual case
argc == 0.
1996-05-01 03:13:45 +00:00
erich
dc15674f9f changed a strchr to a strrchr so that modules with a `.' in the path
can be loaded (e.g. ./mymod.o)
1996-04-26 18:39:48 +00:00
bde
551a3d945e Fixed a couple of format strings to match the change of pid_t from long
to int32_t.  I only fixed the ones that I noticed the warnings for.
Perhaps most of the format strings are correct now because they were
wrong before.  Except of course if int32_t isn't compatible with `int'.
1996-04-13 15:47:43 +00:00
scrappy
248e7c0177 default to udp if no flags specified...closes PR#bin/759
- should this be documented in the man page?
1996-04-13 06:08:24 +00:00
scrappy
083e3b5135 removed xref to icheck(8), ncheck(8) as they don't exist 1996-04-11 07:49:34 +00:00
smpatel
4a164c67b1 Fix a core dump when the user gives "-w" without an "=" 1996-04-10 00:53:22 +00:00
ache
440523bd80 English corrections from jdp.
Add main purpose description (MSDOS timestamps)
1996-04-09 11:31:34 +00:00
mpp
28f122269b Do not install the now unsupported netns and netiso
related man pages.  Comment out cross references to those man
pages from other man pages.
1996-04-08 05:15:09 +00:00
mpp
dfbf6cbddc Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
mpp
99996af085 Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
joerg
2a302102d0 Don't immediately give up if a single read() or write() wasn't
sufficient to transfer all the data from stdin, or to stdout.  Working
on pipes causes further fragmentation.
1996-04-06 11:00:28 +00:00
ache
972f81beab More info and more corrections 1996-04-05 23:53:23 +00:00
ache
99f375fab7 Describe new adjkerntz variant + various changes from jdp 1996-04-05 23:37:08 +00:00
ache
bf5f51d4e7 Detect if /etc/wall_cmos_clock gone while adjkerntz paused. 1996-04-05 19:17:05 +00:00
ache
d166031da7 Dynamically sense /etc/wall_cmos_clock presence/absense 1996-04-05 16:25:38 +00:00
ache
52917f2b1b Fix error with multiply 'adjkerntz -a' copies running.
Manage adjkerntz kernel variable even for UTC clocks.
Code cleanup.
1996-04-05 03:40:55 +00:00
gpalmer
bab687e55f Add a small message to the ``CAVEATS'' section saying if you get the
warning about the root directory, then you could corrupt your filesystem
if you write to it. Someone, please, feel free to improve this :-)
1996-04-03 23:11:08 +00:00
phk
ef2d860845 recognize "allow", "accept" and "pass"
add new feature for "established"
1996-04-03 13:49:10 +00:00
phk
4ea9306579 A couple of bug-fixes.
Reviewed by:	phk
Submitted by:	"Frank ten Wolde" <franky@pinewood.nl>
1996-04-02 11:43:28 +00:00
peter
df8ff0ce49 Move rpc.statd and rpc.lockd to usr.sbin via repository copy as per
discussionn when they were initially added some time ago.
These programs are not needed before nfs is up and running to possibly
mount /usr so they dont need to be static and on the root fs.
1996-04-02 01:42:07 +00:00
peter
06b7ede780 Some minor tweaks for statd
- use rpcgen to generate unmodified code instead of havinf it in the
  repository
- use "natural" function names to avoid conflicts with prototypes etc.
1996-04-01 05:36:06 +00:00
peter
62fac34fe1 Tweaks for the stub lockd.
- Use rpcgen to generate the unmodified boilerplate code rather than
  having it in the repository.
- Eliminate the conflicting function names by changing them to their
  "natural" rpcgen generated names
1996-04-01 05:30:04 +00:00
bde
13f88ce9a6 Fixed a type to match Lite2's fixed-width type changes.
Obtained from:	4.4BSD-Lite2
1996-03-19 14:41:05 +00:00
asami
18ed37cb9f Change the messages slightly when there is no "mount_type" executable
found when the user specifies "mount -t type".  Instead of printing
out one message for each path element (/sbin, /usr/sbin), it prints
out:

mount: exec mount_type not found in /sbin, /usr/sbin: No such file or directory

The code is quite long for such a stupid little piece of aesthesism
but it is very straghtforward so I guess it's ok.  Besides, I don't
want to do a "char foo[100];" and have malloc break down when someone
decides to add a few more paths to a variable that's far apart from
this code. :)

By the way, there is no malloc() off-by-one error for the '\0' at the
end of the string although I don't explicitly add 1 to the length.
The code allocates strlen(path element)+2 bytes for each path element,
and doesn't use the last two bytes (for the delimiting ", ").

Reviewed by:	the list (I hope)
1996-03-15 00:14:09 +00:00
ache
4c1399a861 Properly distinguish 3 different cases:
No redial command. Empty redial command. Non-empty redial command.
Pointed-by: bde
1996-03-12 23:14:45 +00:00
ache
b44bd2eb03 Re-open line after hangup in any case 1996-03-12 12:56:27 +00:00
mpp
f2df29a106 Backout my changes to disallow "mount /mnt /mnt" until I can verify
that nfs mounts work again (I locked up my home machine testing it and can't
see what happened until I get home from work tonight).
1996-03-11 20:01:17 +00:00
mpp
5fe53ed5f9 Only restrict the user from doing something like "mount /mnt /mnt"
for file system types that actually cause a panic (ufs, msdos, cd9660).
This makes /proc mountable again.
1996-03-11 00:22:28 +00:00
mpp
be7c7a4309 Do not allow the caller to specify the same path for the special
device file and the mount point.  This prevents the "unexpected recursive
lock" panic from happening.

This is a temporary fix.  A kernel fix would be much much more ugly than
this, and still wouldn't be the "right" way to fix it.  After some
of Terry's file system rework is installed, it will be possible to
properly fix this problem in a clean manner.  Until then,
this change should prevent use from getting a problem report
on this every month or so (and I just noticed that someone in
one of the freebsd news groups was complaining about this problem, too).
1996-03-10 00:20:28 +00:00
ache
f44d5eead8 Prepare to eliminate multiply uucplock.c copies 1996-03-04 10:35:45 +00:00
jkh
52e779a11c Close PR#17. This may be a contraversal fix in that now mount will
spit out two error lines for a bogus filesystem type, e.g:

root@time-> mount -t foo /dev/sd0a /mnt
mount: exec /sbin/mount_foo for /mnt: No such file or directory
mount: exec /usr/sbin/mount_foo for /mnt: No such file or directory

But I would submit that if you're even going to scan multiple directories
for a mount_foo (which I actually think is somewhat bogus - if it's not
in /sbin, you're probably in big trouble anyway), you should emit an error
for each one.  I got multiple complaints (in addition to the PR) that the
existing behavior was very confusing.
1996-03-03 08:44:22 +00:00
mpp
860448b298 Silence some cc -Wall warnings in quotacheck. 1996-02-27 08:04:48 +00:00
mpp
f583d08c52 Fix quotacheck to not do a bunch of unneeded fseeks if the
quota file information is accurate.  This makes it about twice as
fast when the uid name space is very large.
1996-02-27 01:53:17 +00:00
pst
750c8b5fde Bring in some of Paul K's fixes for ldconfig from NetBSD-current.
This solves the problem of being unable to use shared libraries with dots
in their names before the ".so.<version>" code.

This should be brought into -stable.

There are more changes from Paul that look like they should be included,
but they change the format of the hints file, so I'm not going to bring them
in now (but we should in the future).

Obtained from: pk@netbsd.org
1996-02-26 02:22:33 +00:00
phk
17191b3aa0 Update to match kernel code. 1996-02-24 13:39:46 +00:00
phk
dde0a4d2ee A new ipfw program that can set and control the new features.
An almost correct usage is printed.
1996-02-24 00:20:56 +00:00
phk
a67505fd2b Update -current ipfw program as well.
I hope it all compiles...
1996-02-23 15:52:28 +00:00
mpp
95238e0742 Print out an informative message if the verbose option is given
and an unknown uid/gid is found in the file system.  This is useful
if you wind up with a file in your file system that has a uid
that is extremely large, since quotacheck will wind up running
a very very long time due to it not handling large gaps in uids
very well (this is a problem that should be addressed some day).

Update the man page to reflect that fact the the -v flag now prints
some additional diagnostic messages.
1996-02-21 18:40:54 +00:00
mpp
e28787bb05 Fix route to check if inet_addr and inet_network return INADDR_NONE,
instead of -1 which is never returned by those routines.
1996-02-17 21:13:32 +00:00
ache
5ce08f3fe2 Call unit-command -1 <new> first time connected, close PR 569 1996-02-17 19:21:41 +00:00
peter
42a2c10504 This commit was generated by cvs2svn to compensate for changes in r14125,
which included commits to RCS files with non-trunk default branches.
1996-02-17 15:14:59 +00:00
peter
e6ac6d91b7 Import Jan 15 version of Andrew Gordon <andrew.gordon@net-tel.co.uk>'s
rpc.statd.

This is apparently fully functional and complete.
1996-02-17 15:14:59 +00:00
peter
b204d6bf7c This commit was generated by cvs2svn to compensate for changes in r14123,
which included commits to RCS files with non-trunk default branches.
1996-02-17 15:11:29 +00:00
peter
2db8f15200 Import Jan 15 version of Andrew Gordon <andrew.gordon@net-tel.co.uk>'s
stub lockd.

This implements just the protocol, but does not interact with the kernel.
It says "Yes!" to all requests.  This is useful if you have people using
tools that do locking for no reason (eg: some PC NFS systems running some
Microsoft products) and will happily report they couldn't lock the file
and merrily proceed anyway.  Running this will not change the reliability of
sharing files, it'll just keep it out of everybody's face.
1996-02-17 15:11:29 +00:00
wollman
2a8106f540 XNS sort-of-support is no more. 1996-02-13 17:30:37 +00:00
phk
c2f771cb28 Document that the firewall will no longer reorder the rules. 1996-02-13 15:20:20 +00:00
joerg
25b4d85c19 The DES-based init(8) belongs to the "des" distribution. 1996-02-13 09:12:10 +00:00
mpp
37272cd2d1 Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
mpp
bdbe89b6d6 Removed the boot_*(8) man pages for machines we don't support:
hp300, sparc, tahoe, and vax
1996-02-12 04:29:10 +00:00
mpp
1564b8826e Fixed some minor formatting problems to silence manck some more.
Corrected some bogus cross references to man pages that we don't/won't
have and either deleted them, or found a more appropriate man page
that we do have.  Various other minor changes to silence manck.

Manck is currently down to about 200 lines of errors, down from
the 500 - 600+ when I started all this.
1996-02-12 01:20:38 +00:00
mpp
bda6e1c756 Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
markm
1bc7ca8305 #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
mpp
e71afdaf48 Another round of various man page cleanups. 1996-02-09 17:25:57 +00:00
wollman
48ff8f7a87 Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
mpp
404cd24098 Correct some man page cross references and some file
locations.
1996-02-05 17:32:16 +00:00
joerg
a6bf5185c1 Try to preserve the fdisk table in the primary bootstrap, should it
already exist.

Mention the cases where this doesn't work in the BUGS section of the
man page.
1996-02-03 21:14:09 +00:00
pst
533d4c427c Only print statistics in verbose mode 1996-02-03 06:33:23 +00:00
wosch
ac6d137da6 man page link tmpfs.8 -> mfs.8 for former SunOS users 1996-02-02 06:31:57 +00:00
mpp
45dbd6c139 Added mount_ext2fs to SUBDIR list. 1996-02-01 19:04:17 +00:00
markm
9e845faac5 Add mount_devfs to the subdir list. 1996-02-01 14:01:22 +00:00
mpp
afd0e97990 Hacked up a small man page for mount_ext2fs. The existing man page was
simply a copy of the mount_lfs man page.
1996-01-31 17:28:23 +00:00
asami
19fbc5b788 Add CCDF_MIRROR and CCDF_PARITY to list of flags. 1996-01-31 11:04:52 +00:00
joerg
a068f9128f A better algorithm to place the numbers on the lines.
Submitted by:	satoshi
1996-01-30 23:14:34 +00:00
asami
5e02ef8943 Add mirror and parity flags to list of symbolic names. 1996-01-30 22:25:24 +00:00
peter
b22fb65af4 Add rdisc to subdirs.. It works for me. :-) (Thanks Bill!) 1996-01-30 18:44:42 +00:00
ache
93b1f6869d Add missing comma in usage printf 1996-01-30 17:38:45 +00:00
mpp
9cf4d30ac4 Fix even more spelling errors in some more man pages. 1996-01-30 16:34:52 +00:00
mpp
029ea9012d Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
asami
f1cc2873fa ccdcontrol -> ccdconfig. 1996-01-30 01:25:40 +00:00
mpp
15edaba8d4 Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
wosch
9b183c3251 A manpage. May be the file nologin.5 should located in
src/share/man/man5.
1996-01-28 23:49:05 +00:00
joerg
8e8db76a8e Make the numbers for the "superblock backups" fit nicely on the screen,
even for larger partitions.  Until now, partition sizes > 500 MB messed
up the screen.
1996-01-25 23:44:32 +00:00
pst
1e1887f402 Disclaimer redundant and man page cleanups 1996-01-22 23:31:20 +00:00
mpp
36ebbca00c Change the reference to format(8) (which we don't have) to fdformat(1) and
scsiformat(8) (which we do have).  Closes PR# 663.
1996-01-22 12:55:16 +00:00
joerg
586f668ca3 Finally implement the "auto" disktype. It attempts to get all the
required information from the driver, and produce a virgin disklabel
for it.  The latter might be further edited with `disklabel -e' to
satisfy the user's need.

The magic sequence is:

	disklabel -r -w sdX auto
	disklabel -e sdX
1996-01-22 01:01:15 +00:00
joerg
b3910de9e0 Declare functions, resolve printf-format warnings. 1996-01-21 23:55:47 +00:00
mpp
db5718e94d Route calls the errx routine with the wrong number of arguments
when printing "route: bad address: ...".
1996-01-20 12:56:57 +00:00
peter
4c612b6212 Source cleanup: prototypes, varargs, POSIXification, getopts, -Wall clean.
Bugfixes: no longer stomps it's argv causing ps to change the string.

Unfortunately, Bill Fenner and I have overlapping changes here...
1996-01-19 10:22:00 +00:00
fenner
95cd97714f Made router discovery at least build and run. There are a few things
left to do (e.g. it doesn't yet run on systems with aliased addresses)
but this should work for simple configurations.

I don't plan to enable the rdisc directory in the sbin/ makefile until
I get feedback on this and add the missing features, so please, if you
have routers that perform router discovery, or if your FreeBSD box is
itself a router, give this a try.
1996-01-19 01:28:30 +00:00
peter
e03a975224 Yet another "fix" for some of the mistakes in the recent versions..
I discovered that when asking for the IFLIST via sysctl(), if you
specify only AF_INET address, it actually gives you only AF_INET..
(suprise, suprise..!)

Now, it should "do the right thing" in just about all cases...  The only
problem, is that "the right thing" isn't exactly clear in all cases.
1996-01-08 10:23:25 +00:00
peter
be2e9632c2 Fix some of my mistakes, slight cleanup, improve reliability (the old
ifconfig would segfault on "ifconfig ed0 ether up" and the like).

The main reason for this commit was that an "ifconfig -a" would also show
the AF_INET addresses in AF_IPX form (if the kernel was configured for IPX)
due to insufficient AF checking in my "new way" of doing it.
1996-01-08 03:46:27 +00:00
phk
7238cac8a8 Move some tables to "const" and remove some unused vars. 1996-01-07 22:32:35 +00:00