Commit Graph

2082 Commits

Author SHA1 Message Date
ken
8cd3918239 Eliminate the default device name (da) and unit number (0) in camcontrol.
This may break some scripts, but with the number of ways users can damage
a system with this tool, it's important to make sure they specify which
device they want to talk to.

Suggested by:	joerg
2000-06-04 02:43:55 +00:00
ken
90df9abb6d Use the Ic (Internal command) mdoc macro to denote camcontrol subcommands.
Submitted by:	sheldonh
2000-06-03 22:16:00 +00:00
ken
fc2bdd1d71 Send 'camcontrol help' usage output to stdout instead of stderr, so it
can be viewed more easily with a pager.

Regular (i.e. short) usage output is still sent to stderr.

PR:		bin/12358
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
2000-06-03 22:07:56 +00:00
jlemon
3c46a26fb6 Fix memory leak when route addition fails.
Obtained from:  NetBSD
2000-06-02 21:19:43 +00:00
grog
002fcee024 Add new function declarations. 2000-06-02 03:55:01 +00:00
grog
b92550590b Change the default command history file from /var/tmp/vinum_history to
/var/log/vinum_history.  Also check that any existing history file is
a regular file.

Admonished-by: imp

Allow stopping long-running commands with ^C (well, SIGINTR).
Previously this would stop the program.
2000-06-02 03:54:33 +00:00
grog
12ab1c628c Add new function dumpconfig: dump the configuration information
directly off the drives.

This command shows a minor problem: it requires that the device nodes
exist, whereas kernel Vinum does not.  Thus dumpconfig may show no
configuration for certain drives which are up and happily running.
This is documented in the man page.
2000-06-02 03:53:33 +00:00
grog
4474df095e attach command: allow attaching striped or parity plexes if the -f
option is given.  This will break the data in the plex.
2000-06-02 03:52:05 +00:00
msmith
ae1a82ed76 Don't try to do anything with the /dev/rXXX device. 2000-05-31 01:00:51 +00:00
msmith
aa722fef82 Don't try to open the /dev/rXXX device. 2000-05-31 00:58:55 +00:00
darrenr
b427ff58ad add common.c to SRCS to fix compile problems 2000-05-24 20:04:41 +00:00
sheldonh
81dd124aeb Fix a small grammar nit, with the maintainer's implicit approval. 2000-05-22 08:41:57 +00:00
ken
59077611d2 Implement a new camcontrol function, 'camcontrol format'.
libcam/Makefile:	Add scsi_da.c to libcam for the new
			scsi_format_unit() function.

camcontrol.8:		Update the man page for the new format
			functionality, and take out the examples section
			describing how to do it with 'camcontrol cmd'.

camcontrol.c:		New format functionality.  Note that unlike the
			rest of the camcontrol subcommands, this one is
			interactive by default.  Because of the potential
			destructiveness of the format command, I thought
			it necessary to get confirmation from the user
			before spamming a disk.  You can disable the
			interactive behavior, and the status meter with
			command line arguments.

scsi_da.c:		Add the new scsi_format_unit() cdb building
			function and use #ifdef _KERNEL to make this file
			compile in both the kernel and userland.  The
			format unit function is currently only defined in
			the non-kernel case, because nothing in the kernel
			is using it.  If that changes, it should be
			un-ifdefed and compiled in both cases.

scsi_da.h:		New function declaration, CDB structure and format
			data structures.

Thanks to Nick Hibma for providing some valuable input on these changes.
2000-05-21 23:57:52 +00:00
obrien
1064183c50 Document "-alias". 2000-05-20 18:05:24 +00:00
ru
e18cc21c76 Add new option (-target_addr) to control how to deal with incoming packets
not associated with any pre-existing link.

Submitted by:	brian
2000-05-18 10:31:10 +00:00
hoek
7c0358c8ef Fix a bunch of typos.
Some Submitted by:	docs/18543 (Anatoly Vorobey)
2000-05-15 14:55:56 +00:00
hoek
3b00c204d9 Typo: "ealgo" -> "aalgo"
PR:		docs/18547 (OKAZAKI Tetsurou <okazaki@be.to>)
2000-05-15 14:16:30 +00:00
hoek
30aab534f1 .Xr boot0cfg 8 ,
PR:		misc/18267 (Usov Alexander <[3]usov@ups.kiev.ua>)
2000-05-13 14:41:04 +00:00
grog
e8353ee88b Add external for -i option. 2000-05-11 08:57:09 +00:00
grog
76e2da6bef Remove description of the -v option for init and start.
Describe -i option for start.

Update description of start command (will now work on plexes).

Update discussion of choice of stripe size (don't use power of 2).

Remove references to raw devices.
2000-05-11 07:34:54 +00:00
grog
9334dc1cb9 Add -i (interval) option, for use with start command. 2000-05-11 07:33:53 +00:00
grog
6620fd5c4a vinum_info: Use the correct field to determine whether trace entries
are read or write.

Bug-introduced-in:	Revision 1.26

Show percentage complete in brief status of reviving and initializing
subdisks.
2000-05-11 07:32:09 +00:00
grog
b9f9aa5b09 start plex/subdisk:
Add -i option to delay between blocks copied, to reduce performance
   impact.

   Remove -v option, things work now.

Rewrite parity maintenance functions.

Rebuildparity: Add -v option to check whether it was broken before
rebuilding each block.
2000-05-11 07:29:09 +00:00
sheldonh
ea43758f6a Supply only one author name per instance of %A, as per mdoc.samples(7).
PR:		18465
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-10 09:49:04 +00:00
ps
b87a84748a Tidy up the offset calculations.
Submitted by:	bde
2000-05-09 22:20:14 +00:00
nyan
d8045ce4be Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
ps
084aa5ef3d Read the correct size into kdumplo.
Botched/Noticed by:	peter
2000-05-09 01:08:00 +00:00
ps
52765a72c3 Allow savecore to work on > 2GB partitions.
Submitted by:	peter
2000-05-08 22:57:35 +00:00
kris
b1f675064a Update device name. 2000-05-07 09:27:53 +00:00
kris
684a53f402 Update references to disk and tape devices. 2000-05-07 09:16:56 +00:00
kris
6db232d789 Update device names in examples. 2000-05-07 09:08:31 +00:00
phantom
c4211e84ab Fix typo
Noticed by:	hoek
2000-05-06 14:20:07 +00:00
mpp
9e763c86f4 Correct an xref.
PR:		doc/13218
Submitted by:	phantom
2000-05-05 02:25:19 +00:00
mpp
9544e6653d Correct the usage of the ".Bd -literal -offset xxx" macro to use
a proper offset.  This silences warnings when the man page is
formated with groff.

PR:		bin/14534
2000-05-05 01:59:21 +00:00
phantom
256125970e mdoc(7) style fixes and cleanup 2000-05-04 17:34:31 +00:00
phantom
020e251b07 Fix path to ip6fw 2000-05-04 17:33:27 +00:00
phantom
a287769415 . clean `.Os' macro value since this tool is not KAME-only tools anymore
. sort Xr's in SEE ALSO section
. add integration note
2000-05-04 17:29:14 +00:00
phantom
5c29617753 Remove outdated BUGS section. We'll never rename comcontrol to siocontrol. 2000-05-04 16:48:33 +00:00
ru
20c0349981 New option: -redirect_proto. 2000-05-03 15:06:45 +00:00
sheldonh
bdb879c8bd Remove extraneous Dv macro that slipped in, in rev 1.64. 2000-05-03 08:59:44 +00:00
asmodai
d7c1473a98 Remove unused include. 2000-05-01 20:20:05 +00:00
asmodai
03f25e3199 Remove unused include, and place sys includes at top, which enabled
us to remove this include.
2000-05-01 20:19:44 +00:00
asmodai
dc6b4b9ad2 Remove unused includes. 2000-05-01 20:01:16 +00:00
asmodai
5117d63a2d Remove unused #include. 2000-05-01 19:39:36 +00:00
asmodai
74823ef7a7 Remove unused #include. 2000-05-01 18:52:42 +00:00
phantom
606061f18e . clear `.Os' macro value since this tool is not KAME only anymore
. add integration note
2000-05-01 14:57:04 +00:00
ache
f41d3d38d7 Print options only supported by device, back out printing options separately
Pointed-by: bde
2000-05-01 12:14:30 +00:00
nik
884b00a45b Removed xref to mount_lfs, this died in 2.mumble.
PR:             docs/18272
Submitted by:   Michael Lucas <mwlucas@blackhelicopters.org>
2000-04-30 22:08:13 +00:00
joe
4bf22d1729 Fixes a potential buffer overflow with the pid filename.
Submitted by:	Mike Heffner <spock@techfour.net>
Submitted on:	audit@freebsd.org
2000-04-30 21:04:36 +00:00
joe
bac5045cd6 Fixes a potential buffer overflow with the command line arguments.
Submitted by:   Mike Heffner <spock@techfour.net>
Submitted on:   audit@freebsd.org
2000-04-30 20:53:54 +00:00