Commit Graph

2085 Commits

Author SHA1 Message Date
grog
5f0f53bcd2 vinum_start: Set the revive blocksize correctly.
checkparity: Allow the -v flag to display progress.
2000-06-07 04:09:55 +00:00
rwatson
53275f25df o Mention kern.suser_permitted
Obtained from:	TrustedBSD Project
2000-06-05 14:56:01 +00:00
nyan
29e2987f18 Sync with sbin/i386/fdisk/fdisk.c revision 1.37.
(Don't try to open the /dev/rXXX device.)
2000-06-05 13:28:49 +00:00
ken
5e934fe1f7 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
d4ddd65f98 Use the Ic (Internal command) mdoc macro to denote camcontrol subcommands.
Submitted by:	sheldonh
2000-06-03 22:16:00 +00:00
ken
d53f4a216e 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
6fd18a5599 Fix memory leak when route addition fails.
Obtained from:  NetBSD
2000-06-02 21:19:43 +00:00
grog
83a3e081eb Add new function declarations. 2000-06-02 03:55:01 +00:00
grog
a5eea96d8a 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
5e6b4a395e 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
d4d500418a 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
ddb63bd920 Don't try to do anything with the /dev/rXXX device. 2000-05-31 01:00:51 +00:00
msmith
2d0d9c4581 Don't try to open the /dev/rXXX device. 2000-05-31 00:58:55 +00:00
darrenr
f3c0d655fd add common.c to SRCS to fix compile problems 2000-05-24 20:04:41 +00:00
sheldonh
6d881bfeba Fix a small grammar nit, with the maintainer's implicit approval. 2000-05-22 08:41:57 +00:00
ken
d6e8bd4cd5 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
0636bdc7c2 Document "-alias". 2000-05-20 18:05:24 +00:00
ru
9033edf3a8 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
ceebfbd75c Fix a bunch of typos.
Some Submitted by:	docs/18543 (Anatoly Vorobey)
2000-05-15 14:55:56 +00:00
hoek
a7c55cf6da Typo: "ealgo" -> "aalgo"
PR:		docs/18547 (OKAZAKI Tetsurou <okazaki@be.to>)
2000-05-15 14:16:30 +00:00
hoek
655e64b32d .Xr boot0cfg 8 ,
PR:		misc/18267 (Usov Alexander <[3]usov@ups.kiev.ua>)
2000-05-13 14:41:04 +00:00
grog
283efb624e Add external for -i option. 2000-05-11 08:57:09 +00:00
grog
f716ae0b0f 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
554e67bb30 Add -i (interval) option, for use with start command. 2000-05-11 07:33:53 +00:00
grog
f36acfe526 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
cbda1426e3 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
5443174128 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
dc13001fde Tidy up the offset calculations.
Submitted by:	bde
2000-05-09 22:20:14 +00:00
nyan
fd65d0b7d9 Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
ps
3cad7070e8 Read the correct size into kdumplo.
Botched/Noticed by:	peter
2000-05-09 01:08:00 +00:00
ps
f0dd8b6679 Allow savecore to work on > 2GB partitions.
Submitted by:	peter
2000-05-08 22:57:35 +00:00
kris
07e195cda0 Update device name. 2000-05-07 09:27:53 +00:00
kris
317ebb57aa Update references to disk and tape devices. 2000-05-07 09:16:56 +00:00
kris
2af5f14804 Update device names in examples. 2000-05-07 09:08:31 +00:00
phantom
e5599bc952 Fix typo
Noticed by:	hoek
2000-05-06 14:20:07 +00:00
mpp
328ae88abb Correct an xref.
PR:		doc/13218
Submitted by:	phantom
2000-05-05 02:25:19 +00:00
mpp
56f09cbe0e 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
6f90f2c17e mdoc(7) style fixes and cleanup 2000-05-04 17:34:31 +00:00
phantom
e41a0d9fe9 Fix path to ip6fw 2000-05-04 17:33:27 +00:00
phantom
70194b6f11 . 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
f7fc289160 Remove outdated BUGS section. We'll never rename comcontrol to siocontrol. 2000-05-04 16:48:33 +00:00
ru
1e594f519a New option: -redirect_proto. 2000-05-03 15:06:45 +00:00
sheldonh
5087dcbf10 Remove extraneous Dv macro that slipped in, in rev 1.64. 2000-05-03 08:59:44 +00:00
asmodai
3022b1ea3d Remove unused include. 2000-05-01 20:20:05 +00:00
asmodai
c442c7bb98 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
bd36251bea Remove unused includes. 2000-05-01 20:01:16 +00:00
asmodai
ad6c7cc77b Remove unused #include. 2000-05-01 19:39:36 +00:00
asmodai
d834f18b47 Remove unused #include. 2000-05-01 18:52:42 +00:00
phantom
ece3cbbe39 . clear `.Os' macro value since this tool is not KAME only anymore
. add integration note
2000-05-01 14:57:04 +00:00
ache
fd776bd6a9 Print options only supported by device, back out printing options separately
Pointed-by: bde
2000-05-01 12:14:30 +00:00