Commit Graph

2053 Commits

Author SHA1 Message Date
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Greg Lehey
05da76e022 Update and tidy descriptions of info -V.
Describe use of -w option with start.
Tidy up descriptions of scale factor suffixes.
1999-08-26 03:24:02 +00:00
Doug White
f10f160d82 Add -e option to usage(). 1999-08-25 21:31:08 +00:00
Greg Lehey
a7bd84e6b1 Document the setstate command. 1999-08-24 02:36:23 +00:00
Greg Lehey
360ca1a0f8 Change declaration for initsd.
Add declarations for vinum_setstate, vinum_checkparity and
vinum_rebuildparity.
1999-08-24 02:35:07 +00:00
Greg Lehey
684e6c47e5 parseline(): Reset the -w flag.
continue_revive: Implement the -w flag.
1999-08-24 02:33:55 +00:00
Greg Lehey
bfb9bed7bf vinum_info(): Add support for logging subdisk I/O. 1999-08-24 02:32:57 +00:00
Greg Lehey
b095b120af Tidy up some indentation and comments.
vinum_init(): Change name of variable plexindex to objindex, which
	      better describes its purpose.

initsd(): Add a second parameter to determine whether it should wait
	  for completion or not.  This allows it to DTRT when called
	  with the -w flag either directly or via initplex().

Add 'setstate' command (function vinum_setstate ()) to implement the
VINUM_SETSTATE_FORCE ioctl for diddling individual object states.
This is a repair tool which can also be used for panicing the system.
Use with utmost care if at all.

Add unimplemented commands 'checkparity' and 'rebuildparity'.  Watch
this space.
1999-08-24 02:31:19 +00:00
Poul-Henning Kamp
e6fb3dde93 Add new option to fdisk: -e
This wipes the MBR and creates slice 1 as a FreeBSD slice covering the
disk starting from the second track to the cylinder aligned end of the disk.

This is the most compatibly layout we have as far as I know.
1999-08-23 11:06:19 +00:00
Bill Fumerola
5682c39f91 Don't print a "," after the last superblock.
Submitted by:	adrian
1999-08-21 22:07:27 +00:00
Brian Feldman
32e7924603 To christen the brand new security category for syslog, we get IPFW
using syslog(3) (log(9)) for its various purposes! This long-awaited
change also includes such nice things as:
	* macros expanding into _two_ comma-delimited arguments!
	* snprintf!
	* more snprintf!
	* linting and criticism by more people than you can shake a stick at!
	* a slightly more uniform message style than before!
	 and last but not least
	* no less than 5 rewrites!

Reviewed by:	committers
1999-08-21 18:35:55 +00:00
Chris Costello
a7d1f49705 Bad cross-reference of getservbyname(2) changed to getservbyname(3)
Reviewed by:	ru
1999-08-18 01:20:07 +00:00
Geoff Rehmet
5a00da3716 Add reference to blackhole(4) 1999-08-17 14:28:07 +00:00
Chris Costello
d6636ad7b3 Re-add -Wmissing-prototypes to `COPTS'. I mistook -W for -Wno in this case. 1999-08-16 21:22:39 +00:00
Chris Costello
8288fd5402 Fix some bad references. 1999-08-16 20:56:31 +00:00
Chris Costello
55cb3cb6be -Wmissing-prototypes is unnecessary here. There are no warnings produced
with this option disabled.
1999-08-16 08:13:17 +00:00
Mike Pritchard
348e4e6c73 Minor mdoc fix. 1999-08-15 12:16:59 +00:00
Mike Pritchard
70846e5c99 Minor style fix. 1999-08-15 12:16:12 +00:00
Mike Pritchard
aa7c9adaea Various man page cleanup:
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Properly xref RFCs.
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 08:06:12 +00:00
Greg Lehey
fc58bdab83 initsd: On completion, put the subdisk in 'initialized' status, not
'up'.  This matches changes in the kernel module.

Reported-by:	Bernd Walter <ticso@cicely.de>
		Remy Nonnenmacher <remy@synx.com>
1999-08-15 02:32:19 +00:00
Chris Costello
9f237b0c79 Bad reference getsockname(8) -> getsockname(2) 1999-08-14 22:25:59 +00:00
Greg Lehey
ff5bd28e70 Correct typo. 1999-08-14 09:15:43 +00:00
Greg Lehey
43b967dbef Add declarations for initvol, initplex and initsd helper functions for
vinum_init.
1999-08-14 06:20:55 +00:00
Greg Lehey
b6f7fc2505 vinum_info: add code to print out lock events.
modify format of other event printouts.
1999-08-14 06:20:20 +00:00
Greg Lehey
bcb0f98dbe make_plex_dev: make them raw. Volume-related plex devices will
probably die a death soon (yes, DES, that's correct usage).
1999-08-14 06:19:38 +00:00
Greg Lehey
f0012c01e2 vinum_init: add code to initialize subdisks as well as plexes. Also
provide for initializing volumes; this code is not yet complete.
1999-08-14 06:18:39 +00:00
Luigi Rizzo
e2bd328224 Whoops, forgot one line in previous patch. 1999-08-12 05:32:11 +00:00
Luigi Rizzo
f0706ad422 Userland and manual page changes for probabilistic rule match.
Because the kernel change was done in a backward-compatible way,
you don't need to recompile ipfw if you don't want to use the new
feature.
1999-08-11 15:36:13 +00:00
Greg Lehey
6017572204 Correct typo.
PR:	docs/13050
Reported-by:	Dan Langille<junkmale@xtra.co.nz>
1999-08-09 23:28:03 +00:00
Greg Lehey
b13c5ac72b Update to reflect recent changes. 1999-08-07 09:27:25 +00:00
Greg Lehey
4426dd567f Remove code to detect RAID-5/non-RAID-5 kernel modules. 1999-08-07 08:20:07 +00:00
Greg Lehey
1e0e802f79 Remove code to detect RAID-5/non-RAID-5 kernel modules.
Add function definition for readpol command.

Rewrite make_devices with a view to incremental making.  In the
process, effectively kill off plex-bound subdisk device numbers.
1999-08-07 08:19:45 +00:00
Greg Lehey
4391e2334d Import RAID-5 code.
Add Cybernet copyright.

OK'd-by:     Chuck Jacobus <chuck@cybernet.com>

vinum_ldi:
  Calculate the percentage used correctly.

vinum_lsi:
  Flag detached subdisks.

vinum_info:
  Request info: get the major and minor numbers and print them
  correctly.

list_defective_objects:
  New function, for listing objects which aren't up after vinum_start.

  Requested-by: Steve Taylor <staylor@cybernet.com>
1999-08-07 08:19:15 +00:00
Greg Lehey
d9170b4e00 vinum_init:
wait correctly for completion.
   set object in initializing state before initializing.
   Don't set the plex up, it should go up automatically.

vinum_start:
  If any objects are not up on start, list them.

  Requested-by: Steve Taylor <staylor@cybernet.com>

vinum_attach:
  Make sure we always have the object information before examining it.

vinum_replace:
  Start writing.

create_drive, vinum_concat, vinum_stripe, vinum_mirror:
  Check the ioctl return values correctly

vinum_readpol:
  Start writing.
1999-08-07 08:18:39 +00:00
Joseph Koshy
87fc6c15e1 Mention that CCD requires partitions of type FS_BSDFFS.
PR:		docs/12985
Submitted by:	Kiril Mitev <kiril@ideaglobal.com>
1999-08-06 06:25:07 +00:00
Doug White
9b268fbc8f Typo police. 'Acknowledgement' is spelled correctly so it was left untouched.
PR: docs/12986
Submitted by:	Seth <seth@freebie.dp.ny.frb.org>
1999-08-06 04:19:27 +00:00
Ruslan Ermilov
ec3e2c5d4f Backup existing init(8) as /sbin/init.bak.
PR:		12976
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-08-05 09:13:57 +00:00
SADA Kenji
8604fe2e70 Typo of sample command line.
Submitted by: Seiichi Satomi <ssatomi@rr.iij4u.or.jp>
1999-08-01 20:31:57 +00:00
Brian Feldman
0b6c1a832d Make ipfw's logging more dynamic. Now, log will use the default limit
_or_ you may specify "log logamount number" to set logging specifically
the rule.
   In addition, "ipfw resetlog" has been added, which will reset the
logging counters on any/all rule(s). ipfw resetlog does not affect
the packet/byte counters (as ipfw reset does), and is the only "set"
command that can be run at securelevel >= 3.
   This should address complaints about not being able to set logging
amounts, not being able to restart logging at a high securelevel,
and not being able to just reset logging without resetting all of the
counters in a rule.
1999-08-01 16:57:24 +00:00
Greg Lehey
b8ab007681 Remove inappropriate references to the wrong name for the bootstrap
manager, thus killing two birds with one stone.

Objected-to-by:	      bde
		      rnordier
1999-08-01 06:40:11 +00:00
Greg Lehey
4cbdc63443 Make intelligible:
Describe the command formats in English.
  Add references to other programs (boot0cfg, fdisk).
  Remove some old cruft, including FUD about single-level bootstraps.
  Add example of output format.

Not-objected-to-by:	msmith
			rnordier
1999-07-31 08:11:58 +00:00
Ruslan Ermilov
9ccbcc3ef1 Become a maintainer.
Approved by:	brian
1999-07-28 08:50:42 +00:00
Ruslan Ermilov
7591275ecb Back out previous commit. 1999-07-28 08:38:26 +00:00
Nick Hibma
7d83305d4e Add a sensible message if an invalid ID was entered
PR:		8739
Submitted by:	Love lha@stacken.kth.se
Reviewed by:	Doug Rabson <doug@freebsd.org>
1999-07-25 11:00:05 +00:00
Ruslan Ermilov
6be40c9535 Fix a non-critical memory leak.
PR:		12769
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-07-23 08:28:46 +00:00
Greg Lehey
aa30608b44 Modify device numbering method to work with latest -CURRENT. Briefly,
the device numbers are now minor number only, so that we can still
compare them after dev_t has turned into a blob.

Broken-by:	dev_t changes
Reported-by:	Vallo Kallaste <vallo@matti.ee>
		"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
1999-07-22 08:40:37 +00:00
Bill Fumerola
3b3038a651 Fix a gcc stupidity where it thought a variable was being used uninitialized
Add a case for UNSPEC which is in order by the enum definition, but out of
order alphabetically.
1999-07-21 03:04:36 +00:00
Bill Fumerola
c1160fe492 Avoid ambigious if/else 1999-07-21 02:49:42 +00:00
Bill Fumerola
9292be42ca Avoid ambigious if-else 1999-07-21 01:55:03 +00:00
Bill Fumerola
b76bf6fc36 Since we are using strlen() let's assign it to the correct type and
include the proper header.
1999-07-21 00:51:14 +00:00
Poul-Henning Kamp
bb7c1ea0a0 Also check against chardevs when looking for root. 1999-07-20 08:50:54 +00:00
Luoqi Chen
9ea6e95e0d Check if an fs is mounted before checking if it is mounted read-only.
Pointed out by:		Mike Smith	<msmith@freebsd.org>
1999-07-19 21:04:25 +00:00
Mike Pritchard
56d253f621 Print out the fields that are set in fs_flags. 1999-07-18 02:33:05 +00:00
Nik Clayton
1ba1d54c41 Add $Id$ to these manpages.
Approved by:            bde
1999-07-12 20:04:59 +00:00
Bill Fumerola
16c4e40827 Fix nested if/else within an if 1999-07-08 22:27:00 +00:00
Kazutaka YOKOTA
688db407dc Remove reference to the obsoleted COMCONSOLE option.
Pointed out by: Crist J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
1999-07-06 11:45:27 +00:00
Matthew Hunt
ec32ddd693 "Cannot" is one word. "Can not" has a different meaning if taken
literally.
1999-07-05 18:12:13 +00:00
Bill Fumerola
9539436c36 (1) Include linker.h because we use kldload()
(2) Clear up an ambigious, nested if/else
(3) Cast a ccio_size to a long and use the correct format identifier.

Reviewed by:	green
1999-07-04 23:42:32 +00:00
Greg Lehey
d0448064fc Add definitions for simplified config commands
Change definition of sflag

Reported-by:	Johan Karlsson <k@numeri.campus.luth.se>
		Doug <Doug@gorean.org>
		green

World-broken-by:	grog
Pointy-hat-passed-to:	grog
1999-07-02 23:57:45 +00:00
Greg Lehey
ec2e2a6723 Remove the volume, plex, sd and drive commands which allowed the user
to bypass the create command.

vinum_stop:
  Allow -f option.

Add commands for simplified configuration:
  concat - create a volume with one concatenated plex
  stripe - create a volume with one striped plex
  mirror - create a volume with two concatenated or striped plexes

Egged-on-by:	  jkh
1999-07-02 08:01:12 +00:00
Greg Lehey
a490e68466 Change the name of the s option to indicate that it wears more than
one hat.

Change formats as the result of changes in drive structure.
1999-07-02 08:00:31 +00:00
Greg Lehey
2c1ba0bcf7 Change the name of the s option to indicate that it wears more than
one hat.

Add -n option for specifying names of volumes created with the
simplified commands.

Add function find_drive_by_devname to help the simplified
configuration commands.
1999-07-02 07:59:45 +00:00
Greg Lehey
738407d497 Document simplified configuration commands. 1999-07-02 07:58:54 +00:00
Jordan K. Hubbard
a741b77965 Fix time of last dump handling.
Submittted by:		Richard Wiwatowski <rjwiwat@ozemail.com.au>
1999-07-02 04:44:43 +00:00
Mike Spengler
2c7d6d81ef Modify code to be -Wall'able.
PR: bin/11315
1999-07-01 20:48:59 +00:00
Ruslan Ermilov
5d94d8b6a2 Turn System V command line syntax ``on'' by default.
Requested by:		peter
Reviewed by:		des, billf
1999-07-01 13:33:56 +00:00
Robert Nordier
26721a89ff Drop the embedded boot code in favour of a -B option which reads
the boot code from /boot/mbr, or elsewhere as defined by the revised
"-b bootcode" option; use getopt(3); clarify usage(); partially
revise man page; etc.
1999-06-27 19:29:15 +00:00
Poul-Henning Kamp
e0e25bba1a Print out the fs_id field. 1999-06-27 10:05:14 +00:00
Robert Nordier
c64dca10ab Document -P (keyboard probe) assumptions. 1999-06-26 21:57:08 +00:00
David E. O'Brien
d7f6c914c9 Add new file that needs compiling. 1999-06-24 08:13:21 +00:00
Ruslan Ermilov
d44b4fd298 Clarify some details. 1999-06-23 07:00:30 +00:00
Greg Lehey
f3a65ee32e Document the -f flag to detach.
Document the dangers of adding subdisks to striped and RAID-5 plexes.
1999-06-22 05:55:32 +00:00
Greg Lehey
c9a9cf971a Remove ancient, mouldy comments. 1999-06-22 05:54:39 +00:00
Greg Lehey
b1cdcf849c vinum_ldi:
Show the available sectors relative to the user-available part of
  the drive (don't include the config space at the beginning).  This
  stops an empty drive reporting only 99% available.

Requested-by: staylor

printconfig:

  Show sizes in sectors with the suffix 's' instead of the
  now-deprecated 'b'.
1999-06-22 05:53:57 +00:00
Greg Lehey
c3d71cfc5e Allow a 'start <drive>' command. 1999-06-22 05:53:11 +00:00
Ruslan Ermilov
35cd460f8a Signal init(8) instead of executing halt(8) or reboot(8)
when halting or rebooting the system.  It benefits from
running /etc/rc.shutdown by init(8).

``-o'' flag is provided for backward compatibility.

PR:		5451
Discussed with:	des
1999-06-21 16:06:21 +00:00
Brian Somers
6664883843 Mention that data going from one internal address to another will
not be processed by natd.
Requested by: Ludwig Pummer <ludwigp@bigfoot.com>
1999-06-21 07:58:25 +00:00
Joseph Koshy
1d4f4c0d21 Minor cleanups to shutdown(8):
- Make the -k "don't actually halt" flag incompatible with
  the halt/reboot options -h, -p, and -r.
- The -n "don't sync" option is ignored if -k is specified.
  Issue a warning message.
- Compute the actual shutdown time written to /var/run/nologin
  correctly in the case of "now" being specified.
1999-06-21 06:21:05 +00:00
Poul-Henning Kamp
6003dc8e9b Move the IFSTATUS stuff after the address listing. 1999-06-19 20:07:24 +00:00
Brian Feldman
7a2aab80b0 This is the much-awaited cleaned up version of IPFW [ug]id support.
All relevant changes have been made (including ipfw.8).
1999-06-19 18:43:33 +00:00
Poul-Henning Kamp
413dd0ba39 Add a new interface ioctl, to return "aux status".
This is inteded for to allow ifconfig to print various unstructured
information from an interface.

The data is returned from the kernel in ASCII form, see the comment in
if.h for some technicalities.

Canonical cut&paste example to be found in if_tun.c

Initial use:
        Now tun* interfaces tell the PID of the process which opened them.

Future uses could be (volounteers welcome!):
        Have ppp/slip interfaces tell which tty they use.
        Make sync interfaces return their media state: red/yellow/blue
        alarm, timeslot assignment and so on.
        Make ethernets warn about missing heartbeats and/or cables
1999-06-19 18:42:31 +00:00
Nick Hibma
de4a801355 Add again the ':' after the x option in th eargument list to getopt.
It disappeared in rev. 1.23 newfs.c

PR: 12292
Submitted by: Cy Schubert <cy@cschuber.net.gov.bc.ca>
1999-06-19 13:32:27 +00:00
Ruslan Ermilov
966ea00a57 Fix a coredump with negative (due to overflow) offset values. 1999-06-18 14:26:07 +00:00
Jordan K. Hubbard
458cbc01d2 This lets you specify "gemdosfs", "shortnames", "longnames", and
"nowin95" as arguments to the "-o" flag, as alternatives to "-G", "-s",
"-l", and "-9"; when running "mount_msdos" by hand, that doesn't let you
do anything you couldn't already do, but if you're letting "mount" run
it, it lets you specify those options, which is especially useful if,
for example, you have an entry in "/etc/fstab" for some file system,
with "noauto" set, so you can conveniently mount a DOS partition from a
removable drive and force it to treat the file system as VFAT rather
than boring old FAT.

Submitted by:	Guy Harris <guy@netapp.com>
1999-06-18 12:05:02 +00:00
Ruslan Ermilov
1681d65976 Bring in System V run-level patches (turned off by default).
While I'm here, fix some typos in the manpage.

Requested by:	des
1999-06-18 09:08:09 +00:00
Kenneth D. Merry
7c903b3d7e Add a MAINTAINER line to modules that I maintain.
Suggested by:	brian, markm
1999-06-18 00:41:47 +00:00
Ruslan Ermilov
a0a549c7fd Init(8) will halt the system if sent USR1 signal,
or halt and turn the power off if sent SIGUSR2.

PR:		5451
Submitted by:	Leif Neland <leifn@image.dk>
Reworked by:	ru
Reviewed by:	-hackers
1999-06-16 20:01:19 +00:00
Ruslan Ermilov
689b0bd1d4 Document the usage of escape character in a service name.
PR:		7101
Reminded by:	jhs
1999-06-15 12:56:38 +00:00
Ruslan Ermilov
0a81860b0b Workaround the problem that the first (and only first) port name
can't have a dash character (it is treated as a ``range'' operator).
One could now use such a name by escaping the ``-'' characters.
For example:

# ipfw add 1 count tcp from any to any "ms\-sql\-s"
# ipfw add 2 count tcp from any ftp\\-data-ftp to any

PR:		7101
1999-06-11 09:43:53 +00:00
Kenneth D. Merry
b150665acf For vendor-specific commands sent using the 'camcontrol cmd' facility,
use the passed in CDB length, not 1.

Submitted by:	Jean-Marc Zucconi <jmz@FreeBSD.ORG>
1999-06-10 16:14:18 +00:00
Poul-Henning Kamp
cf4b937128 Introduce IFF_SMART bit.
This means that the driver will add/delete routes when it knows it is
up/down, rather than have the generic code belive it is up if configured.

This is probably most useful for serial lines, although many PHY chips
could probably tell us if we're connected to the cable/hub as well.
1999-06-06 09:17:51 +00:00
Kris Kennaway
a05dbf91e4 sprintf -> snprintf
Obtained from:	OpenBSD
1999-06-06 07:18:49 +00:00
Archie Cobbs
eed2b804bf When incrementing through a SIOCGIFCONF list, enforce a lower limit of
sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len.
Otherwise the increment will be wrong in certain cases.

Obtained from:  Whistle source tree
For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests
                SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
1999-06-05 05:55:07 +00:00
Ruslan Ermilov
43866c3e76 Fix the parsing of ip addresses on a command line.
PR:		5047
Reviewed by:	des
Test case:	ipfw add allow ip from 127.1 to any
1999-06-04 11:20:59 +00:00
Ruslan Ermilov
06e70c77bb Spelling corrections for dummynet.
Reviewed by:	des,luigi
1999-06-02 05:59:48 +00:00
Ruslan Ermilov
1e3b39d361 Get rid of segfaults in a set-uid program.
PR:		11823
Reviewed by:	des
1999-06-01 13:14:07 +00:00
Kris Kennaway
fe9ea368e1 $Header$ -> $Id$
Manpage formatting/grammatical fixes.
Check return value of malloc()
Add sccsid[], other minor source code cleanups

Submitted by:	Philippe Charnier
1999-05-29 08:16:34 +00:00
Kris Kennaway
91d299f5d1 Xref mountd in text.
Submitted by:	Philippe Charnier
1999-05-29 08:14:00 +00:00
Kris Kennaway
39aa78dd44 Manpage cleanup, move $Id$ to #ifndef lint, remove unused includes,
grammatical fixes.

Submitted by:	Philippe Charnier
1999-05-29 08:12:38 +00:00
Guy Helmer
78fdfe3f64 Add the missing cd9660-specific options to the -o flag. While I'm here,
add the missing -j flag to the synopsys.

PR:		docs/1667
1999-05-28 01:16:14 +00:00
Luigi Rizzo
e142fadecb close pr 10889:
+ add a missing call to dn_rule_delete() when flushing firewall
  rules, thus preventing possible panics due to dangling pointers
  (this was already done for single rule deletes).
+ improve "usage" output in ipfw(8)
+ add a few checks to ipfw pipe parameters and make it a bit more
  tolerant of common mistakes (such as specifying kbit instead of Kbit)

PR: kern/10889
Submitted by: Ruslan Ermilov
1999-05-24 10:01:22 +00:00
Jean-Marc Zucconi
8878be20f8 Fix typo in dump reporting
PR:		bin/10573
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-05-24 00:35:47 +00:00
Warner Losh
c8b4bd56c2 Getopt(3) returns -1 not EOF. 1999-05-23 23:18:38 +00:00
Robert Nordier
e5da9b6ba6 Include a table of disk error codes and a note about the cylinder >
1023 issue.
1999-05-22 12:55:16 +00:00
Kenneth D. Merry
5a251d70c6 Fix a typo, and get rid of the bugs section that talks about adding
different ways to specify devices.  That code has been added.
1999-05-19 19:39:11 +00:00
Joseph Koshy
25c0391524 Use current names for swap devices.
PR:		docs/11708
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
1999-05-17 05:23:17 +00:00
Joseph Koshy
9c4134e136 Refer to current names for swap partitions in the `FILES' section.
PR:		docs/11709
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
1999-05-17 05:19:13 +00:00
Brian Somers
29d97436c5 Oops - missing parenthesis 1999-05-13 17:09:44 +00:00
Brian Somers
9c501140f7 /sbin/natd portrange documentation and bugfix
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
PR:		11690

3.2 candidate ?
1999-05-13 16:58:31 +00:00
Luoqi Chen
93fcd374b4 Read dumpdev using sysctl(3) interface. Now savecore should work again
after the dev_t changes.
1999-05-13 04:29:09 +00:00
Kenneth D. Merry
c60e19a83b Add a new device specification syntax to camcontrol. It is now possible to
do things like:

camcontrol tur da5
or
camcontrol tur 1:2:0
or
camcontrol tur 1:2

These changes are fully backwards compatible with the original device
specification syntax (-n dev -u unit), so it is possible to use either
method to specify a device now.

The device specification changes do not affect the rescan, reset or debug
commands, since by design, those commands work on a bus or bus:target:lun
basis only.

Also, shorten the default usage statement so that it fits in a 24 column
terminal.  The full usage statement is still available by using the "help"
"-h" or "-?" arguments to camcontrol.

Submitted by:	Joerg Wunsch <joerg_wunsch@interface-business.de>
1999-05-10 23:30:04 +00:00
David E. O'Brien
ce68c9929a Move sysctl/ to src/sbin/ where it now belongs.
Repository copied by:	Peter
1999-05-10 10:17:22 +00:00
Poul-Henning Kamp
95b9c18a7d Fix mknod which overloaded a little too much on "minor" and "major" 1999-05-10 04:50:27 +00:00
Andrzej Bialecki
1a9e10d8a1 Silence message about absence of PnP overrides. 1999-05-09 22:16:27 +00:00
Stephen McKay
5e2cc0f4b0 Make flood ping flood again. It hasn't worked since 2.2.6. Make the "-l"
option work as described in the manual, not as another flood ping variant.

Once discussed to death with: bde
1999-05-07 14:38:48 +00:00
Greg Lehey
8fea704025 Arrange the "CONFIGURATION FILE" section in the order in which the
entries go into the config file.

Clarify what names can be used for Vinum drives, and what will happen
to you if you use other names.

Forcibly-demonstrated-by:  Thomas Stromberg <tstromberg@rtci.com>
			   Peter K Campbell <PCampbel@vtrlmel1.telstra.com.au>
			   George Cox <george.cox@sophos.com>
			   many others, but those were the only three today.
1999-05-07 07:11:01 +00:00
Joseph Koshy
5880814dc3 Null commit.
>  PR:		bin/6399
>  Submitted by:	David Malone <dwmalone@maths.tcd.ie>

Also reviewed by:	bde
1999-05-07 05:31:01 +00:00
Joseph Koshy
18af604492 1. Enhanced syntax for mount(8). The -o option now supports two 'meta'
options:

    -o fstab	brings in filesystem options specified in /etc/fstab
    -o current	incorporates the current set of options for the file
		system

   The rightmost option wins in the case of conflicting options being
   specified.

   E.g.:-

   # mount -u -o current,nosuid /home

   will preserve the current mount options while adding the 'nosuid' flag.

2. Rewording of manual page to be hopefully clearer; small -Wall
   cleanups.

Thanks to David Malone for his patience and willingness to work
multiple patches on request.

PR:		bin/6399
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-05-07 05:22:08 +00:00
Kenneth D. Merry
9deea8574e Add a number of interrelated CAM feature enhancements and bug fixes.
NOTE:  These changes will require recompilation of any userland
applications, like cdrecord, xmcd, etc., that use the CAM passthrough
interface.  A make world is recommended.

camcontrol.[c8]:
 - We now support two new commands, "tags" and "negotiate".

	- The tags commands allows users to view the number of tagged
	  openings for a device as well as a number of other related
	  parameters, and it allows users to set tagged openings for
	  a device.

	- The negotiate command allows users to enable and disable
	  disconnection and tagged queueing, set sync rates, offsets
	  and bus width.  Note that not all of those features are
	  available for all controllers.  Only the adv, ahc, and ncr
	  drivers fully support all of the features at this point.
	  Some cards do not allow the setting of sync rates, offsets and
	  the like, and some of the drivers don't have any facilities to
	  do so.  Some drivers, like the adw driver, only support enabling
	  or disabling sync negotiation, but do not support setting sync
	  rates.

 - new description in the camcontrol man page of how to format a disk
 - cleanup of the camcontrol inquiry command
 - add support in the 'devlist' command for skipping unconfigured devices if
   -v was not specified on the command line.
 - make use of the new base_transfer_speed in the path inquiry CCB.
 - fix CCB bzero cases

cam_xpt.c, cam_sim.[ch], cam_ccb.h:

 - new flags on many CCB function codes to designate whether they're
   non-immediate, use a user-supplied CCB, and can only be passed from
   userland programs via the xpt device.  Use these flags in the transport
   layer and pass driver to categorize CCBs.

 - new flag in the transport layer device matching code for device nodes
   that indicates whether a device is unconfigured

 - bump the CAM version from 0x10 to 0x11

 - Change the CAM ioctls to use the version as their group code, so we can
   force users to recompile code even when the CCB size doesn't change.

 - add + fill in a new value in the path inquiry CCB, base_transfer_speed.
   Remove a corresponding field from the cam_sim structure, and add code to
   every SIM to set this field to the proper value.

 - Fix the set transfer settings code in the transport layer.

scsi_cd.c:

 - make some variables volatile instead of just casting them in various
   places
 - fix a race condition in the changer code
 - attach unless we get a "logical unit not supported" error.  This should
   fix all of the cases where people have devices that return weird errors
   when they don't have media in the drive.

scsi_da.c:

 - attach unless we get a "logical unit not supported" error

scsi_pass.c:

 - for immediate CCBs, just malloc a CCB to send the user request in.  This
   gets rid of the 'held' count problem in camcontrol tags.

scsi_pass.h:

 - change the CAM ioctls to use the CAM version as their group code.

adv driver:

 - Allow changing the sync rate and offset separately.

adw driver

 - Allow changing the sync rate and offset separately.

aha driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

ahc driver:

 - Allow setting offset and sync rate separately

bt driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

NCR driver:

 - Fix the ultra/ultra 2 negotiation bug
 - allow setting both the sync rate and offset separately

Other HBA drivers:
 - Put code in to set the base_transfer_speed field for
   XPT_GET_TRAN_SETTINGS CCBs.

Reviewed by:	gibbs, mjacob (isp), imp (aha)
1999-05-06 20:16:39 +00:00
Poul-Henning Kamp
34fee57ad2 don't use <sys/disk.h> 1999-05-06 19:20:34 +00:00
Joseph Koshy
45ba9ca7f3 Fix typos and -mdoc usage.
PR:		docs/11537
Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
1999-05-06 11:28:01 +00:00
Mark Murray
a657e5291f Incomplete. Back out until I can revisit. 1999-05-05 20:28:54 +00:00
Mark Murray
2ba7a95271 Restore perror --> err changes. 1999-05-05 06:15:30 +00:00
Guy Helmer
78c6551783 Mention the special destination "default" for default routes. Fix a
couple of formatting bugs.

PR:		docs/9960
1999-05-04 18:41:32 +00:00
Joseph Koshy
9b6c9bcee5 Fix typos.
PR:		docs/11485
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-05-04 11:34:33 +00:00
Matt Jacob
9b979919c4 temporary workaround for bin/11464 1999-05-03 13:53:16 +00:00
Greg Lehey
1b3859ce9a timestamp:
Assign explicit variable for sec to get it to compile on Alpha.

Submitted by: dfr
1999-05-02 22:23:18 +00:00
Mark Murray
c90fe7dc24 Merge-o-matic and add a bunch of $Id's 1999-05-02 13:14:16 +00:00
Mark Murray
2c7a97817b Latest-and-greatest routed.
Includes RIPv2 and Router Discovery.

Submitted by:	Vernon Schryver <vjs@calcite.rhyolite.com>
1999-05-02 10:51:54 +00:00
Greg Lehey
e2375c635f Update documentation of new functions.
Describe new scale letter for sizes: 's' (sector) instead of 'b'
(block).  Both mean 512 bytes, but 'b' is deprecated because it's
confusing.

Document log file and environment variables.
1999-05-02 08:03:30 +00:00
Greg Lehey
895bd9b191 Add definitions for history functions and printconfig split. 1999-05-02 08:02:48 +00:00
Greg Lehey
0f76af59ba printconfig:
split into vinum_printconfig (interactive) and printconfig (called
  from vinum_printconfig and from vinum_create when starting an
  interactive update.
1999-05-02 08:02:03 +00:00
Greg Lehey
e0e022fc69 vinum_create:
If no file name is specified, create one and edit it with the editor
  specified in the EDITOR environment variable, by default vi.

vinum_help:
  Update.

Fix typos in messages.
1999-05-02 08:01:21 +00:00
Greg Lehey
1976254102 Maintain a log file, by default /var/log/vinum.history, showing what
has been done.  This name can be overridden by the value of the
VINUM_HISTORY environment variable.

Print dates in log file according to the variable VINUM_DATEFORMAT, by
default %e %b %Y %H:%M:%S.
1999-05-02 08:00:30 +00:00
Kris Kennaway
93606d6ebb Fixes for -t option:
* Don't buffer "Digesting..." output - flush it immediately.
* Increase the number of repetitions by a factor of 100, and the block size by
  a factor of 10 so as to give meaningful results on modern machines (108
  seconds on my P120, and ~26 seconds on a P-II 350).

PR:		bin/10604
Submitted by:	Stanislav Shalunov <shalunov@lynxhub.lz.att.com>
1999-05-01 14:54:21 +00:00
Guy Helmer
dc90479cca Add ICMP types to list of information about each packet. 1999-04-29 19:14:17 +00:00
Guy Helmer
b67579bd36 Explain when packets are tesed by the firewall rules and what attributes
of packets can be tested.

PR:		docs/7437
1999-04-28 02:49:29 +00:00
Warner Losh
ebe70c8f68 More egcs warning fixes:
o main returns int not void
	o use braces to avoid potentially ambiguous else

Note: The fix to natd is potentially functional in nature since I used
the indentation as the right thing rather than the struct semantics.
Someone more familiar with the code should double check me on this one.

Reviewed by: obrien and chuckr
1999-04-25 22:33:30 +00:00
Peter Wemm
1464cddcdd The infrastructure to build these fellows has been replaced with kld. 1999-04-24 21:04:04 +00:00
SADA Kenji
8ee64ab680 Typo of `same_ports' directive.
Submitted by:	Masaki Nohtomi <noutomi@jbm-net.or.jp>
1999-04-24 01:42:44 +00:00
Alexander Langer
6436fcb9f0 Typo fix in diagnostic: -alldir --> -alldirs
PR:		11049
Submitted by:	Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
1999-04-21 22:42:36 +00:00
Bill Fumerola
65a74e454e Make usage() reflect reality (add the -aout and -elf options).
OK'd by:	bde
1999-04-21 20:06:42 +00:00
Peter Wemm
2ec18d8b24 Disconnect modload/modunload/modstat from their Makefiles.. 1999-04-18 15:56:20 +00:00
Daniel C. Sobral
44e568e2a1 Add support for Joliet extensions to the iso9660 fs. The related PR
cannot yet be closed, though.

I hope I got all credits right, and that the multiple submitted by lines
do not break anyone's scripts...

PR:		kern/5038, kern/5567
Submitted by:	Keith Jang <keith@email.gcn.net.tw>
Submitted by:	Joachim Kuebart <joki@kuebart.stuttgart.netsurf.de>
Submitted by:	Byung Yang <byung@wam.umd.edu>
Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
1999-04-18 10:58:03 +00:00
Greg Lehey
0aff4757c8 When looking at all objects, look at all objects.
main:
  If the wrong version is started, execve the correct version.
1999-04-17 04:13:04 +00:00
Greg Lehey
cc2023a984 When looking at all objects, look at all objects.
vinum_lsi:
  Print rough size of plex in parentheses.
  Print drive info with -v option (previously required -V).
1999-04-17 04:12:33 +00:00
Greg Lehey
409d8396f9 vinum_init: count dead children correctly when waiting for completion.
vinum_resetstats: count objects correctly.
1999-04-17 04:11:48 +00:00
Guy Helmer
b6adffbf1b Correctly ref editline(3).
PR:		docs/10973
1999-04-13 02:42:53 +00:00
Guy Helmer
8570fd2a09 Change LKM/modload to KLD/kldload.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-13 02:20:07 +00:00
Greg Lehey
f83b075baa Add external declaration for wait flag, rather later than intended.
Complained-about-by:  jkh
		      Jim Bloom <bloom@acm.org>
		      Michael Reifenberger <root@nihil.plaut.de>
1999-04-10 23:39:14 +00:00
Greg Lehey
9690aae346 Document -w option for init command.
Reorganize OPTIONS section into alphabetical order.
1999-04-10 04:02:23 +00:00
Greg Lehey
fc7fafc1a1 Add -w option to init command: wait for init to complete before
returning.
1999-04-10 04:00:49 +00:00
Greg Lehey
033916740b If the wrong version of vinum(8) has been started (i.e. non-RAID-5
when the kernel module is RAID-5, or the other way round), execve()
the correct one.

Add \n to an error message.
1999-04-09 01:14:36 +00:00
Eivind Eklund
26b4eff640 Add a comment that natd is made for use with NICs, not PPP links - I'm
tired of the five people each day that ask me how to set up natd for
use with PPP.
1999-04-08 23:15:31 +00:00
Guy Helmer
5e0abc7b6f Change LKM/modload to KLD/kldload.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-08 14:02:56 +00:00
Guy Helmer
a7efcd4bab modload -> kldload and add ref to kldload(8) in See Also section.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-08 13:59:42 +00:00
Guy Helmer
e5a49961b1 Convert LKM/modload to KLD/kldload. Add ref to kldload(8).
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-08 13:56:25 +00:00
Peter Wemm
769ae4addb kldload("ccd") if the ccd module isn't present. 1999-04-05 06:30:12 +00:00
Greg Lehey
8a465c4217 Add GOTCHAS entries warning against using partition c for vinum, and
explaining the syntax of the 'read' command.

Shot-in-foot-by:  Bob Gustwick <gustwick@oldzoom.bga.com>
1999-04-05 04:06:27 +00:00
Bruce Evans
3e3aea1728 Install dhclient-script under ${DESTDIR}.
PR:		10615, 10891
1999-04-03 07:09:59 +00:00
Guy Helmer
62fb100205 Update refs for KLD's and kldload.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-01 01:42:28 +00:00
John Polstra
31cba49478 Rename spppcontrol.1 to spppcontrol.8. The latter file was created
by repository copy.
1999-04-01 00:07:33 +00:00
John Polstra
089d5fb3fb Null commit to note that spppcontrol.1 has been repository copied
to spppcontrol.8.
1999-04-01 00:01:51 +00:00
Greg Lehey
4bd1924ddf vinum_resetstats: Reset stats for drives correctly when recursing. 1999-03-31 08:44:20 +00:00
Greg Lehey
95869fbbd3 Change the meaning of the combination of -s and no -v option in the
list functions.  Previously, it would produce a non-verbose listing of
the objects followed individually by a statistics listing.  Now it
produces only a one-line-per-object statistics listing.
1999-03-31 08:43:40 +00:00
Brian Somers
f3d640240b Disable reads on our ICMP socket. We only use it for sending.
PR:	9253
1999-03-30 10:11:21 +00:00
Poul-Henning Kamp
d59cf2acdd Add ability to set protocol number.
PR:		10753
Submitted by:	Isao SEKI <iseki@gongon.com>
1999-03-29 13:58:27 +00:00
Greg Lehey
60349886f9 Get date right.
Remove comments about not being able to unload from the command line.

Add another example configuration output.

Clarify when to use 'vinum start' and when to use 'vinum read'.
1999-03-28 08:51:51 +00:00
Greg Lehey
0fea12cf01 main (): Don't loop waiting for children to finish. 1999-03-28 08:51:29 +00:00
Greg Lehey
22093445f5 vinum_start: Allow user to specify a plex. In this case, revive all
subdisks in need of revival.

vinum_stop:  sleep for a second before unloading.  This solves a race
	     condition with a potential daemon when the stop command
	     is specified on the command line.
1999-03-28 08:51:10 +00:00
Nate Williams
5744914fb4 - There exists a manpage, so use/install it. 1999-03-26 21:27:01 +00:00
Brian Somers
7bafbf7bf4 Add `const's that I forgot to commit. Not bad - I broke
the -stable and -current builds in the space of 1 day !

Pointed out by: jdp
1999-03-26 07:13:12 +00:00
Brian Somers
902cb50a76 Add some const-cleanliness and avoid some warnings. 1999-03-24 20:30:48 +00:00
Brian Somers
5d8ee958b3 Allow port ranges when specifying -redirect_port.
Submitted by:	Wes Santee <wes@bogon.net>
PR:		9696
1999-03-24 20:30:20 +00:00
Greg Lehey
35755b9f51 Add a tutorial-like section "How to set up Vinum" 1999-03-24 09:18:33 +00:00
Greg Lehey
1ea272a632 'start' command: check that the objects in question aren't already up,
and produce an intelligble message if they are.
1999-03-24 00:45:47 +00:00
Greg Lehey
1ae808e860 Correct ioctl calls VINUM_STARTCONFIG. The last commit broke the
'vinum start' command.
1999-03-23 23:24:00 +00:00
Greg Lehey
240b9c4449 Describe the new semantics of 'create':
When creating a new drive, if the drive already has a vinum label,
  and name doesn't match the specified drive, do it anyway if the
  'force' flag is specified.

Continually-tripped-over-by:  Karl Pielorz <kpielorz@tdx.co.uk>

Update information about partition type for Vinum drives.  They
*should* be of type 'vinum', but currently we still accept (and
complain about) partitions of type 'unused'.  At a later date, only
'vinum' will be accepted.

Threatened-since: over a year
1999-03-23 04:55:50 +00:00
Greg Lehey
170cfb0311 Print correct message if the wrong module is loaded. 1999-03-23 04:55:23 +00:00
Greg Lehey
7a4bec173b vinum_create: pass 'force' flag to ioctl VINUM_STARTCONFIG.
Semantics:

  When creating a new drive, if the drive already has a vinum label,
  and name doesn't match the specified drive, do it anyway if the
  'force' flag is specified.

Continually-tripped-over-by:  Karl Pielorz <kpielorz@tdx.co.uk>
1999-03-23 04:54:59 +00:00
Jordan K. Hubbard
f1a3bb13d8 The attached patch to /usr/src/sbin/dump/optr.c changes the comparison
so that dumps are treated by dump -w as having been done on midnight
of the day they were actually run. This makes dump -w behave as
expected for regularly scheduled daily dumps - if they all run the
same day. It makes dump -w behave strangely if you dump late in the
day and check again after midnight, but that is the lesser of two
evils.

Submitted by:	Mike Meyer <mwm@phone.net>
PR:		9429
1999-03-21 23:47:38 +00:00
Greg Lehey
fd20bb017e If we fail to open the super device, open the "wrong" device (that is,
the debug superdevice when we're compiled without debug, or the normal
superdevice when we're compiled with debug.  If this succeeds, print
an informative comment and exit.

make_devices: Create both debug and normal superdevices.
1999-03-19 07:21:27 +00:00
Greg Lehey
a542207223 Clarify the synchronization options in additional plexes to a volume. 1999-03-18 23:17:05 +00:00
Bruce Evans
98201b0c60 Fixed `mount -a -u ...'. Rev.1.19 broke this by trying too hard to
avoid mounting filesystems multiple times.

PR:		10572
Submitted by:	Cy Schubert <cy@cschuber.net.gov.bc.ca>
1999-03-16 22:26:51 +00:00
Robert Nordier
9ef416cfed Add cross-reference to loader man page, plus various minor
improvements.
1999-03-16 13:16:11 +00:00
Bill Paul
97ed1257f9 Grrr... botched remote commit. Let's try this again: vlan updates,
take two.
1999-03-15 01:22:01 +00:00
Greg Lehey
5b76055cb5 Clarify that the stop command only works in interactive mode. 1999-03-14 04:06:49 +00:00
Greg Lehey
aa8e683270 create command: get the message right if an error occurs with a
non-verbose create.
1999-03-14 04:06:00 +00:00
Greg Lehey
6128bd0ff7 Describe the new debug flags DEBUG_EOFINFO and DEBUG_MEMFREE.
Fix a confusion between slices and partitions.

Clarify the problems of small stripe sizes (< 128 kB).
1999-03-13 07:45:52 +00:00
Greg Lehey
25641fed48 info command: Remove opencount parameter, print value of open flag. 1999-03-13 07:44:17 +00:00
Greg Lehey
ad4e71c7b7 create command: if an error occurs, print the offending line even if
the -v flag has not been set.
1999-03-13 07:43:28 +00:00
Robert Nordier
ef76b8c057 Note that a standard MBR supports booting only from hard drive 0 1999-03-13 01:40:57 +00:00
Brian Somers
2f9a9cb08c src/usr.sbin/natd -> src/sbin/natd (after a repo-copy by jdp) 1999-03-12 15:38:55 +00:00
Andrew Gallatin
e22d00060d Fix savecore so that it works on alphas
Reviewed by: Doug Rabson <dfr@nlsystems.com>
1999-03-12 14:46:00 +00:00
Brian Somers
b71e869d29 Fix a diagnostic typo
Submitted by:  Martin Machacek <mm@i.cz>
1999-03-11 09:24:52 +00:00
Greg Lehey
63a134bc15 Describe the default values for useful options.
Clarify which options are no longer useful.
1999-03-10 21:59:02 +00:00
Brian Somers
59a7c61374 Upgrade (almost) to natd 2.0b1
- Transparent proxy support.
  - PERMANENT_LINK IS NOW OBSOLETE, use redirect_port instead.
  - Drop support for early FreeBSD 2.2 versions
  - If separate input & output sockets are being used
    use them to find out packet direction instead of
    normal mechanism. This can be handy in complex environments
    with multiple interfaces.
  - PPTP redirect support by Dru Nelson <dnelson@redwoodsoft.com> added.
  - Logging enhancements from Martin Machacek <mm@i.cz> added.

Obtained from: Ari Suutari <ari@suutari.iki.fi>
1999-03-07 18:23:56 +00:00
Greg Lehey
6cecf4e4b2 Document "stop" command with no parameters.
Document "printconfig" and "saveconfig" commands.

Add warning about running "create" multiple times.
1999-03-02 07:02:29 +00:00
Greg Lehey
327f3f618f Take definitions of VINUMMOD and WRONGMOD from v.c. 1999-03-02 07:02:09 +00:00
Greg Lehey
aa57f12990 Move definitions of VINUMMOD and WRONGMOD to vext.h.
Wait4 zombies.

make_devices: Don't try if the /dev directory is mounted read-only.
	      Create daemon superdevice /dev/vinum/controld.

Format a couple of multiline comments conformant with style(9).
1999-03-02 07:01:51 +00:00
Greg Lehey
04898b56e9 Change the format of the lists to reflect loss of pid field.
Show open state as a flag.

vinum_ldi: Show available space in short form listing.
1999-03-02 07:01:26 +00:00
Greg Lehey
5e2b0861ec resetconfig: don't log the "obliterated" message, the kernel does that
for us.

	     Rebuild the (almost empty) /dev/vinum directory.

vinum_start:  remove superflous "read" parameter when starting with no
	      parameters.

vinum_stop:  without an argument, stop Vinum and remove the kld if
	     it's idle.

vinum_saveconfig: New command to save configuration.
1999-03-02 07:00:57 +00:00
Gary Jennejohn
f439d9fab7 Make buf in authflags a little bigger because 2 strings can be
concatenated and 20 bytes (the old size) is kind of tight.
1999-02-28 22:19:47 +00:00
Jordan K. Hubbard
f627793d19 Make this work with the new alias library since, evidently, we're
not providing the backwards-compatability routines in libalias anymore
(which I think may have been a mistake).
1999-02-27 22:37:38 +00:00
Jordan K. Hubbard
c54f4a7556 Don't install kget on alpha - it doesn't do much useful there. 1999-02-27 10:54:06 +00:00
Kenneth D. Merry
f9d0451202 Fix misspelling of Julian's last name. Oops. 1999-02-27 07:56:08 +00:00
Jordan K. Hubbard
61645e2a13 Add kget. 1999-02-27 02:25:06 +00:00
Jordan K. Hubbard
c16a6a70a5 Bring in kget, a utility for saving kernel change information.
Submitted by:	abial
1999-02-27 02:24:18 +00:00
Gary Jennejohn
559fa26574 Make the buf in authflags big enough to hold " norechallenge". I've been
running with this for a few weeks.

Submitted by:	someone on the freebsd-isdn maillist
1999-02-23 21:47:05 +00:00
Semen Ustimenko
d1f923f942 Added description of how they can access particulary
NTFS attribute and write files.
1999-02-19 12:38:10 +00:00
Warner Losh
2faab3cddd Finish documenting -S src-addr change.
Forgotten by: me
Forgotten for: Far Too Long
Gently Reminded by: Ruslan Ermilov <ru@ucb.crimea.ua>
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1999-02-19 07:40:59 +00:00
David E. O'Brien
2a3a31d8ca More style fixes to bring this almost to bde's suggested version. 1999-02-18 18:56:58 +00:00
David E. O'Brien
a20d7fd0c0 bde suggests not to trust ${COPY} to always be defined.
also fix style bugs submitted by Bruce
1999-02-18 09:38:18 +00:00
Greg Lehey
3628210aa7 Modify example configuration file to show more optimum stripe size of
256 kB instead of 16 kB.

Pointed-out-by: Steve Taylor <staylor@cybernet.com>

Modify description of start command to include 'start' with no
parameters, which reads the config from all drives found on the
system.
1999-02-11 06:14:49 +00:00
Greg Lehey
f2c4d303d7 Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
1999-02-11 06:14:15 +00:00
Greg Lehey
730ed31899 Check for both kinds of Vinum module (with and without RAID-5). Using
the wrong module can cause confusion, including loading both versions
(which conflict with each other) and incorrect ioctls, which cause
unintelligible error messages.

Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
1999-02-11 06:13:44 +00:00
Greg Lehey
77a14d66b8 Include libdevstat in executable, for extended start command. 1999-02-11 06:12:06 +00:00
David E. O'Brien
8d7e75d826 hook in dhclient 1999-02-10 21:09:48 +00:00
David E. O'Brien
7fb45d4f5c This commit was generated by cvs2svn to compensate for changes in r43855,
which included commits to RCS files with non-trunk default branches.
1999-02-10 20:51:22 +00:00
David E. O'Brien
914345e310 bmake framework for ISC-DHCP client 1999-02-10 20:51:22 +00:00
Matthew Dillon
cb84cdb1c4 Fix bug in mount_mfs whereby mount_mfs would sometimes return before
the mount is completely active, causing the next few commands attempting
    to manipulate data on the mount to fail.  mount_mfs's parent now tries
    to wait for the mount point st_dev to change before returning, indicating
    that the mount has gone active.
1999-02-09 17:19:19 +00:00
Robert Nordier
708b27a068 Note that nextboot requires the legacy boot code. 1999-02-05 09:58:39 +00:00
Semen Ustimenko
5287191e29 Added mount_ntfs subdirectory.
Reviewed by:	David O'Brien <obrien@NUXI.com>
1999-02-03 04:21:24 +00:00
Semen Ustimenko
4aabb2de22 Primary version.
Reviewed by:	David O'Brien
1999-02-03 03:51:19 +00:00
Wolfram Schneider
a1c1a4e918 Added xref to nologin(5). 1999-02-01 21:02:38 +00:00
Wolfram Schneider
1c669fdb34 Added xref to nologin(8). 1999-02-01 21:00:24 +00:00
Greg Lehey
ebf1694990 Correct include paths
Remove unnecessary additional CFLAGS
Remove BINGRP and BINMODE
1999-01-31 23:25:22 +00:00
Greg Lehey
1c315e7931 Add MAINTAINER 1999-01-30 01:00:19 +00:00
Greg Lehey
959c9a97a9 Fix broken command tables (change formatting from tbl to .Bl/.El)
Move the BUGS section to vinum.4: the only bug in vinum.8 was the man
page, fixed with this commit.
1999-01-27 03:12:23 +00:00
Robert Nordier
12d910e9bb Add a -b option as a simple way to rewrite the mbr code
(eg. replacing a boot manager with a standard mbr)
1999-01-22 11:54:17 +00:00
Archie Cobbs
14112159be Fix bug where 'ipfw list' would choke if there were a large number of rules. 1999-01-22 01:46:32 +00:00
Archie Cobbs
6f206f2ef2 Fix misleading wording in ipfw(8) man page.
PR: docs/9603
1999-01-21 19:51:04 +00:00
Greg Lehey
52e80fad69 Update to reflect major changes in vinum kernel module 1999-01-21 00:45:11 +00:00
Greg Lehey
0834a1f2db Update to reflect changes in kernel lkm 1999-01-21 00:44:11 +00:00
Greg Lehey
6ab8fef8a8 Remove -DRAID5 from CFLAGS 1999-01-21 00:43:00 +00:00
Mike Spengler
11624527a4 Clarify the number of network interfaces per physical interface available with
each type of signalling manager and bring the atm command into agreement with
the man page.
1999-01-20 18:36:58 +00:00
Jordan K. Hubbard
aa6dcc6021 nuke dset - it doesn't work in a post-ELF world and abial has something
better as a replacement (kget).
1999-01-20 11:53:20 +00:00
Luoqi Chen
7382c45aea Allow tuning of read-only mounted file system.
Reviewed by:	Bruce Evans	<bde@zeta.org.au>
1999-01-20 01:22:39 +00:00
Mike Spengler
da1e697353 Re-write of ilmi daemon. Among the major changes, it does not use predefined
PDUs and should handle multi-request OIDs on GETs.
1999-01-20 00:56:21 +00:00
Robert Nordier
8dfcea8cc1 Make some further revisions to the boot documentation. 1999-01-19 09:04:18 +00:00
Justin T. Gibbs
b54ee7dda4 Properly print devices that do not have attached peripherals.
Submitted by: Kenneth Merry <ken@FreeBSD.org>
1999-01-14 05:56:30 +00:00
Greg Lehey
967e682830 Don't install vinum(8) sgid.
Reported-by:	Paul Hart <hart@iserver.com>
1999-01-13 23:05:26 +00:00
Dag-Erling Smørgrav
90b2fe743a Sort options alphabetically. 1999-01-13 08:07:56 +00:00
Satoshi Asami
0e510aed5b Oops, I missed a few more /etc/nologin references yesterday. It appears
my check of the tree was incomplete.  Sorry guys.

Reported by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-01-12 14:09:23 +00:00
Dmitrij Tejblum
394fd4a653 Update to match rev. 1.28 of msdosfs_lookup.c. 1999-01-11 18:35:14 +00:00
Satoshi Asami
16ceea1b93 Move nologin from /etc to /var/run. This means one less file that has
to be written to /etc.

The only essential change is in paths.h, so any third-party software
written correctly will pick it up in the next rebuild.

Reviewed by:	the committers list (actually an old version)
1999-01-11 09:07:42 +00:00
Dag-Erling Smørgrav
81e7454a25 Clean up option handling a little.
Add an option for showing sysctl descriptions instead of their values.
1999-01-10 02:10:08 +00:00
Bruce Evans
ba2f0650b6 Removed ROOTSLICE_HUNT. The root device is now found better by
getvfsent() in most cases.  (The main exception is when /etc/fstab
still hasn't been converted to use a slice for the root device, the
root device is a SCSI device, and the /dev/sd* inode for this device
still hasn't been renamed to /dev/da*.)
1999-01-09 16:28:33 +00:00
Greg Lehey
a5d5588506 - Format corrections for troff output
- Comment out the description of the unimplemented replace command
- Explain in even stronger language that resetconfig is not for
  everyday use

  Motivated by:  Marko Schütz <marko@ki.informatik.uni-frankfurt.de>

- Correct the description of the start command (no longer used to
  start vinum, just specific objects)

  Motivated by: dg

- Remove .TH N commands, which conflict badly with the doc macros,
  causing strange headings in nroff output and endless loops in troff.
  The current version produces warning messages with some screen
  sizes, and will be fixed when I have time.

  Bug-report: docs/9328 (nroff)
  Reported-by: joerg (troff)

- Add gotcha info for the setupstate keyword and the use of label and
  resetconfig.

- Add bug entry for the warning messages introduced by fixing
  docs/9328.

- Add references to web pages on Vinum
1999-01-09 03:00:01 +00:00
Robert Nordier
89aeb8ced9 Make a start on revising the boot documentation. 1999-01-06 14:19:09 +00:00
Warner Losh
99490ede3a Allow PINGing from any address on multihomed hosts
In the words of the submitter:
"The patch below allows to ping from any address on the multihomed host.
 The man page is also updated, the text was cutted from traceroute(8)."

Submitted by: Ruslan Ermilov
PR: 6832
1999-01-06 07:54:28 +00:00
Greg Lehey
2d9a57cff5 Complete change from DEBUG to VINUMDEBUG. Now it still builds when
VINUMDEBUG is set as well.
1999-01-06 04:22:48 +00:00
Greg Lehey
c2218a2c9f Complete previous commit: change debug macro from DEBUG to VINUMDEBUG
Reported by: dg
1999-01-06 04:09:01 +00:00
Greg Lehey
a1f358450e Fix problems compiling without -DVINUMDEBUG
Reported by: dg
1999-01-06 04:07:49 +00:00
Jordan K. Hubbard
d26a815b77 Clean up some more residual /usr/mdec references. I left all the
extra rbootd/boot rom cruft pointing at /usr/mdec since it either
doesn't exist or doesn't work anyway, so who cares? :)
1999-01-03 02:18:58 +00:00
Jordan K. Hubbard
5d3432d726 Update for boot block location change. 1999-01-02 23:28:44 +00:00
Doug Rabson
f863ed7f6f Here is a patch to make mountd work.
It just replace u_long with u_int32_t and shouldn't affect on i386.
Without this patch,
- unaligned accesses occur
- permission denied randomly

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-12-29 09:38:49 +00:00
Peter Wemm
6d553badba Tweaks as a result of having vinum statically buildable in a kernel. 1998-12-28 16:32:39 +00:00
Søren Schmidt
580d0d02e8 Reenable vinum after repository copy.
Forgotten by:	Peter.
1998-12-28 11:06:21 +00:00
Søren Schmidt
380366f204 Temporaryly disable vinum, awaiting repository copy of misplaced files. 1998-12-27 19:43:28 +00:00
Luigi Rizzo
d120b1c1fc Remove coredump when running "ipfw pipe" without more arguments.
PR: 8937
1998-12-27 11:23:05 +00:00
Greg Lehey
ef57f97a9d - Correct alphabetical order of commands
- Describe subdisk attachment in more detail
- Describe new 'makedev' command
- Correct use of 'partition' and 'slice'
- Describe 'setupstate' keyword
- Include performance guidelines for striped plexes
- Correct numerical values in examples
- Add examples for disklabel(8)
- Clarify problems creating Vinum drives on inappropriate partitions

Prodded by: NAGANUMA Yasuhiro <y_naga@carat.rim.or.jp> (slices and
            partitions)
1998-12-27 03:47:15 +00:00
Jordan K. Hubbard
558408f95d User reports that using mount_null destroyed his filesystem, I reply
that nullfs really doesn't work, he askes why this isn't noted for the
"dangerous" filesystems, I go "hmmm."
1998-12-22 11:52:10 +00:00
Matt Jacob
74f079ee35 Bad Dog! No Biscuit! *Never* commit without testing- even if it was
"just a printf formatting change"....
1998-12-20 20:32:34 +00:00
Matt Jacob
a2a4483652 add Bus and Device Reset commands 1998-12-20 18:51:56 +00:00
Jordan K. Hubbard
efba76d7ff Look for boot blocks in new default location. 1998-12-17 16:50:10 +00:00
Guy Helmer
b46dfa405c Mention affect of securelevel 3 and higher on attempts to change filter lists.
Prompted by:	PR docs/7785
1998-12-16 17:10:03 +00:00
Guy Helmer
04b2ac6e73 Mention securelevel 3 as affecting ipfw and dummynet. Generalize comment
about fdisk and securelevel 2.
PR:		docs/7785
1998-12-16 16:50:12 +00:00
Warner Losh
e254596824 Fix two possible non-exploitable buffer overflows.
Thanks to: A friend at Sun auditing dump/restore for Solaris.
1998-12-16 04:48:00 +00:00
Matthew Dillon
a16800d862 Add pt_tcplisten.c functionality, fix a few minor bugs
PR:             kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758
Submitted by:	Duncan Barclay <dmlb@ragnet.demon.co.uk>
1998-12-15 18:59:07 +00:00
Luigi Rizzo
b13ebaaa5c ipfw changes for dummynet. manpages still missing 1998-12-14 18:43:03 +00:00
Matthew Dillon
25970dbc51 sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the
flag makes portal tcp operation work.
1998-12-12 21:30:17 +00:00
Bruce Evans
39b831af10 Merged from Lite2 (one bcopy -> memmove, one significant change:
don't unlink _PATH_NOLOGIN for the -k case even if shutdown terminates
abnormally.  NetBSD already has this change).
1998-12-11 11:21:47 +00:00
Bruce Evans
689419f325 Fixed missing 'p' and `-' flags and other defects in the usage message.
Fixed some style bugs.
1998-12-11 11:04:19 +00:00
Bruce Evans
502a3cc945 Merged from Lite2 (just an English fix or pun removal).
Updated date.  I think dates in man pages should be changed at least
when a new feature is described.
1998-12-11 10:35:38 +00:00
Bruce Evans
dc5fb4a2e0 Fixed disordered options in synopsis. 1998-12-11 10:25:55 +00:00
Bruce Evans
1efaa0cab8 Fixed missing `p' flag in synopsis.
Broken in:	previous commit
1998-12-11 10:20:54 +00:00
Mike Smith
7e2d04d7c3 Add a '-p' flag to shutdown which corresponds to the '-p' flag to halt,
requesting a system power-off after shutdown.
1998-12-10 23:54:02 +00:00
Robert Nordier
71d7142d82 Use '#' flag in place of "0x" in format strings. 1998-12-07 14:09:17 +00:00
Archie Cobbs
b31a38612b Disallow ipfw "tee" rules until it is actually implemented.
PR:		bin/8471
1998-12-07 05:54:37 +00:00
Julian Elischer
6b100474f7 Cosmetic and documentation changes brought from earlier FreeBSD versions.
(e.g. RCS Id:)
1998-12-03 02:41:11 +00:00
Julian Elischer
d33e92f93e Reviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>
Submitted by:	Kirk McKusick <mckusick@McKusick.COM>
Obtained from:	Mckusick, BSDI and a host of others

This exactly matches Kirks sources imported under the
Tag MCKUSICK2. These are as supplied by kirk with one small
change needed to compile under freeBSD.

Some FreeBSD patches will be added back, though many have been
added to Kirk's sources already.
1998-12-03 02:27:35 +00:00
Julian Elischer
233fbe28b0 These shouldn't have been checked in here..
Reviewee by:
1998-12-02 23:45:28 +00:00
Bill Fumerola
1ac2383cb3 Insert missing macro, and while I'm here change the inconsistent
"page_ctl" and "pagectl" to "pgctl" to reflect ``camcontrol --help''.

PR:		docs/8781
Submitted by:	Norihiro Kumagai <kuma@jp.FreeBSD.org>
1998-12-02 22:42:36 +00:00
Julian Elischer
f5dcaaf48e This commit was generated by cvs2svn to compensate for changes in r41461,
which included commits to RCS files with non-trunk default branches.
1998-12-02 20:53:40 +00:00
Julian Elischer
927eee5e0e Latest version of fsck from the folks at EX-CSRG specifically Kirk Mckusick.
Don Lewis and Kirk have merges nearly all FreeBSD Fixes into Kirks sources
so there is very little that needs to be re-merged.
1998-12-02 20:53:40 +00:00
Bruce Evans
0ed77db893 Fixed non-use of .Nm and hard line breaks in rev.1.16-1.17: 1998-11-29 13:20:04 +00:00
Bruce Evans
e14589db82 Straightened the terminology straightening in 1.17-1.18. Fixed hard
line breaks in rev.1.16-1.18.
1998-11-29 13:09:01 +00:00
Robert Nordier
c276ec5a07 Refer to "da" rather than "sd" device. 1998-11-28 10:02:52 +00:00
Robert Nordier
9f9930a2de Refer to "da" rather than "sd" device.
Suggested by: jdp
1998-11-28 09:43:31 +00:00
Joerg Wunsch
698b4def3f sd0 -> da0 1998-11-26 12:24:35 +00:00
Joerg Wunsch
aa045fa499 Preprocessor support for `ipfw [-q] ... file'.
This allows for more flexible ipfw configuration files using
`variables' to describe frequently used items in the file, like the
local IP address(es), interface names etc.  Both m4 and cpp are useful
and supported; with m4 being a little more unusual to the common C
programmer, things like automatic rule numbering can be achieved
fairly easy.

While i was at it, i've also untangled some of the ugly style inside
main(), and fixed a bug or two (like not being able to use blank lines
when running with -q).

A typical call with preprocessor invocation looks like

	ipfw -p m4 -Dhostname=$(hostname) /etc/fwrules

Someone should probably add support for this feature to /etc/rc.firewall.
1998-11-23 10:54:28 +00:00
Satoshi Asami
51d2851063 Change sd -> da in examples.
Inspired by:	a mail by Scott Smyth <smyth@bashful.realminfo.com>
1998-11-19 20:22:10 +00:00
Kenneth D. Merry
b611e1e3fb Fix a typo in a comment. 1998-11-12 17:47:24 +00:00
David E. O'Brien
a87c2a937a Fill-in the manpages a little. 1998-11-12 11:10:26 +00:00
Bruce Evans
cffd2ca48b Fixed disorder. 1998-11-10 11:54:29 +00:00
Dima Ruban
57e3cd686c Reenable adjkerntz for alpha. 1998-11-09 21:52:50 +00:00
Don Lewis
508e55f5a4 Fix some calculations that use sizeof to attempt to find the end of an
array that were doing sizeof on an unrelated variable.  This just happened
to work right on the i386, but would not on the alpha.

PR: bin/8427
1998-11-09 03:43:55 +00:00
Poul-Henning Kamp
2b4c0a3bc6 Allow for printing out integer arrays. 1998-11-08 19:27:43 +00:00
Dag-Erling Smørgrav
eda1fa0957 Bitch if both an id and a name are specified. Make the man page and usage
message reflect this. As a bonus, make the -n optional so that 'kldunload
name' works as one would expect.
1998-11-07 00:42:52 +00:00
Dag-Erling Smørgrav
9b84d62900 Cosmetic fix (make header align with data) 1998-11-07 00:29:09 +00:00
Alexander Langer
ef80de33ad Add an entry for the new NetBSD partition id. 1998-11-06 03:43:21 +00:00
Joseph Koshy
d1b7313fca Add an entry for BSD/OS [23].x partition types.
I don't have access to a BSD/OS machine to check the veracity of the
magic number.  However, no harm will be done by the commit and since
someone was motivated enough to file a PR, I'm committing the change.

PR:		7629
Submitted by:	Jos Backus <jbackus@plex.nl>
1998-11-06 03:25:56 +00:00
Matt Jacob
3396608117 For large filesystems you can run past default resource limits causing
fsck to exit unhappily. Fix this by doing a getrlimit/setrlimit for
RLIMIT_DATA. I made the same fix in NetBSD.

Reviewed by:	dg@root.com
1998-11-05 03:26:36 +00:00
Greg Lehey
07e7cd96c5 Correct u_int_64 casting to remove warnings in printf() 1998-11-03 06:39:39 +00:00
Greg Lehey
5ecb82d898 Show revive pointer in percentage complete as well as absolute value. 1998-11-02 04:12:51 +00:00
Greg Lehey
d67b685b04 Remove kludge to set subdisk states when bringing up a plex 1998-11-02 04:12:28 +00:00
David Greenman
8692ad469b Rename a function name so that it doesn't conflict with a future system call. 1998-10-30 16:17:50 +00:00
Dima Ruban
97b465b142 64bit fixes.
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem
somewhere is the physio() area)

Submitted by:	myself && Matt Dillon.
1998-10-27 04:01:19 +00:00
Bruce Evans
cf6ceaf1a4 Oops, don't quite use RAW_PART instead of RAWPARTITION. Use 'a' + RAW_PART
in both places.
1998-10-23 18:57:39 +00:00
Greg Lehey
8386a2b309 list.c:
Add dump of last requests with 'info -V'.  This requires the requests
  to be enabled with 'debug 8'.
1998-10-21 08:39:57 +00:00
Bruce Evans
dbf1004755 Honour the default CFLAGS. This fixes a spew of warnings for compiling
unused static inlines in headers without -O.

Fixed missing libraries in DPADD.

Use .PATH instead of a symlink farm.

Removed bogus dependency of util.c on statetext.h (only util.o depends
on it).  Removed rule for building statetext.h.  The dependency was used
to get statetext.h built, but statetext.h is a non-generated source file
so it doesn't need building.  This fixes an annoying message for the null
build and use of `make' instead of ${MAKE} to do the null build.

Fixed some style bugs.
1998-10-17 13:48:37 +00:00
Bruce Evans
794389cf5d Don't assume that time_t is long. 1998-10-17 13:02:46 +00:00
Bruce Evans
b5bd72112d Don't assume that time_t is long. 1998-10-17 12:44:55 +00:00
Bruce Evans
7de064209a Updated the error message for EXDEV to match recent kernel fixes.
Fixed nearby indentation.

Use RAW_PART instead of RAWPARTITION.
1998-10-17 09:56:32 +00:00
Bruce Evans
8116455e9d Backed out previous commit. It broke fsck again. See rev.1.22 and the
references there, and rev.1.38 of sys/ufs/ufs/ufs_disksubr.c.
1998-10-17 08:03:52 +00:00
Jordan K. Hubbard
7b955a8e5d Don't rewrite the disk label. The type field is already set correctly
and we don't use the frags info, so why bother?  More to the point, it
seems to result in an EXDEV error when the label is written out and we
lose because of it (don't know why though).  This is a work-around and
is marked as such.
1998-10-17 04:19:29 +00:00
Dag-Erling Smørgrav
bdd042f095 Warn about "mount -u" bug. 1998-10-16 00:06:56 +00:00
Stephen McKay
099d4ed135 Spelling. 1998-10-15 13:37:35 +00:00
Kenneth D. Merry
8e3278cbd6 When we send a stop unit command to a device, send it as an ordered tag so
that any transactions in front of the stop command get flushed to disk
first.  This will have no effect on devices that have tagged queueing
turned off, or don't support tagged queueing.

Reviewed by:	gibbs
1998-10-13 22:02:38 +00:00
Kenneth D. Merry
2e2b088cc2 Fix a bug in camcontrol that caused 'camcontrol start' to not work.
Noticed by:	Philippe Regnauld <regnauld@deepo.prosa.dk>
1998-10-13 16:23:26 +00:00
Robert Nordier
374e41f47f Kill an extraneous dot.
PR:		8103
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-10-10 15:47:16 +00:00
Mike Smith
6b754594c5 Teach dset about isa_devtab_cam 1998-10-06 07:32:45 +00:00
Kenneth D. Merry
de86eff58c Add a missing word. 1998-10-06 00:32:58 +00:00
Kenneth D. Merry
94d09127cb Add the -c flag in to the usage summaries in the man page and the usage()
function in camcontrol.

Also, fix the modepage example in the examples section of the man page.  It
didn't quite come out right with the '.Dl' macro.
1998-10-03 19:15:53 +00:00
Kenneth D. Merry
d05caa00c5 Add a new CAM debugging mode, CAM_DEBUG_CDB. This causes the kernel to
print out a one line description/dump of every SCSI CDB sent to a
particular debugging target or targets.

This is a good bit more useful than the other debugging modes, I think.

Change some things in LINT to note the availability of this new option.

Fix an erroneous argument to scsi_cdb_string() in scsi_all.c

Reviewed by:	gibbs
1998-10-02 21:00:58 +00:00
Greg Lehey
e34129e8ba Correct source file corruption in last checkin
Observed by:  jkh
1998-09-30 07:53:52 +00:00
Greg Lehey
11ee80a991 Don't require an argument for -v flag
Correct checks for null special file names
Add Usage entry for -v flag
Get terminology straight in man page
Reviewed by:	bde
1998-09-29 23:20:04 +00:00
David E. O'Brien
7105c8a242 Add history. 1998-09-29 17:34:25 +00:00
Greg Lehey
8814fd974a Bring man page up to date 1998-09-29 10:26:02 +00:00
Joseph Koshy
1c4d62951a `kern.maxproc' is not changeable using sysctl(1). Change examples
that show `kern.maxproc' being written.

PR:		docs/7978
Submitted by:	jlemon@americantv.com
1998-09-29 02:01:06 +00:00
Alexander Langer
abe7f210b5 The flags type was recently changed from u_short to u_int, breaking
icmptypes.

PR:		8067
Submitted by:	Jonathan Hanna <jh@cr1003333-a.crdva1.bc.wave.home.com>

While I'm here, staticize functions.
1998-09-28 22:56:37 +00:00
Greg Lehey
3d8357b49c Include vinum in SUBDIR 1998-09-28 05:38:52 +00:00
Kazutaka YOKOTA
7af89e87f8 Remove the reference to the -b option; it's gone. 1998-09-23 06:54:14 +00:00
Nate Williams
e4b74ed73c - Back out softupdate change that already existed in FreeBSD from V1.6,
which caused the reference count of a directory to get doubly
  decremented.

PR:		bin/8030
Reviewed by:	nate
Submitted by:	Don Lewis <Don.Lewis@tsc.tdk.com>
1998-09-23 05:37:35 +00:00
Ollivier Robert
4a73c49a6d Change rst0 into rsa0. 1998-09-22 10:05:27 +00:00
Kenneth D. Merry
8ff6dbfc74 Fix a grammar problem.
PR:		docs/7975
1998-09-21 20:44:39 +00:00
David E. O'Brien
be0cde6f10 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
Warner Losh
fc1e823247 Prevent buffer overflow with extra long arguments. 1998-09-17 20:18:11 +00:00
Kenneth D. Merry
46a1f3b423 Page control field values go from 0-3, not 1-4.
Reported by: Tony Maher <tonym@angis.usyd.edu.au> on -current
1998-09-17 16:12:30 +00:00
Poul-Henning Kamp
d80044954c Two patches from the HARP people:
Various Makefile related fixes.

-Wformat fixes.

Submitted by:	Mike Spengler <mks@networkcs.com>
1998-09-17 09:35:02 +00:00
Kenneth D. Merry
d13d1cd2cc Fix a typo. "Primay" -> "Primary" 1998-09-17 05:10:23 +00:00
Justin T. Gibbs
c4ea283d54 Obsoleted by CAM. 1998-09-17 03:54:31 +00:00
Andreas Klemm
678bcd7728 checked, that new sa CAM driver takes care of using buffer sizes
<= 64 KB. Was able to dump/restore with block sizes of 96, 128 and
200. using systat -vmstat I noticed transfer blocksizes <= 64KB,
so physio's limits aren't touched.
Since this check was originally from me, I feels safe now to back it
out.
1998-09-16 20:52:12 +00:00
David E. O'Brien
63ab6f1c55 Linux swap and Solaris x86 use the same BIOS partition id. 1998-09-16 19:25:47 +00:00
Greg Lehey
8644f7188f Import base vinum userland sources 1998-09-16 05:57:36 +00:00
Poul-Henning Kamp
a6f32b0c35 Remove blank after -I 1998-09-15 19:16:33 +00:00
Poul-Henning Kamp
3f8c45065e (this is an extract from src/share/examples/atm/README)
===================================
                HARP  |  Host ATM Research Platform
                ===================================

                              HARP 3

What is this stuff?
-------------------
The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center,
Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed
the Host ATM Research Platform (HARP) software, which allows IP hosts to
communicate over ATM networks using standard protocols.  It is intended to
be a high-quality platform for IP/ATM research.

HARP provides a way for IP hosts to connect to ATM networks.  It supports
standard methods of communication using IP over ATM.  A host's standard IP
software sends and receives datagrams via a HARP ATM interface.  HARP provides
functionality similar to (and typically replaces) vendor-provided ATM device
driver software.

HARP includes full source code, making it possible for researchers to
experiment with different approaches to running IP over ATM.  HARP is
self-contained; it requires no other licenses or commercial software packages.

HARP implements support for the IETF Classical IP model for using IP over ATM
networks, including:

   o IETF ATMARP address resolution client
   o IETF ATMARP address resolution server
   o IETF SCSP/ATMARP server
   o UNI 3.1 and 3.0 signalling protocols
   o Fore Systems's SPANS signalling protocol

What's supported
----------------
The following are supported by HARP 3:

   o ATM Host Interfaces
        - FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters
        - FORE Systems, Inc. PCA-200E ATM PCI Adapters
        - Efficient Networks, Inc. ENI-155p ATM PCI Adapters

   o ATM Signalling Protocols
        - The ATM Forum UNI 3.1 signalling protocol
        - The ATM Forum UNI 3.0 signalling protocol
        - The ATM Forum ILMI address registration
        - FORE Systems's proprietary SPANS signalling protocol
        - Permanent Virtual Channels (PVCs)

   o IETF "Classical IP and ARP over ATM" model
        - RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5"
        - RFC 1577, "Classical IP and ARP over ATM"
        - RFC 1626, "Default IP MTU for use over ATM AAL5"
        - RFC 1755, "ATM Signaling Support for IP over ATM"
        - RFC 2225, "Classical IP and ARP over ATM"
        - RFC 2334, "Server Cache Synchronization Protocol (SCSP)"
        - Internet Draft draft-ietf-ion-scsp-atmarp-00.txt,
                "A Distributed ATMARP Service Using SCSP"

   o ATM Sockets interface
        - The file atm-sockets.txt contains further information

What's not supported
--------------------
The following major features of the above list are not currently supported:

        o UNI point-to-multipoint support
        o Driver support for Traffic Control/Quality of Service
        o SPANS multicast and MPP support
        o SPANS signalling using Efficient adapters

This software was developed under the sponsorship of the Defense Advanced
Research Projects Agency (DARPA).

Reviewed (lightly) by:	phk
Submitted by:	Network Computing Services, Inc.
1998-09-15 11:44:44 +00:00
Justin T. Gibbs
49fccf2a24 Add support for dealing with ENOSPC as the error code returned by a tape
device hitting EOM on a write.
1998-09-15 10:25:50 +00:00
Justin T. Gibbs
431b8233d7 Add camcontrol. Remove scsiformat. 1998-09-15 10:25:04 +00:00