Greg Lehey
9a9b24fca0
vinum_start: Set the revive blocksize correctly.
...
checkparity: Allow the -v flag to display progress.
2000-06-07 04:09:55 +00:00
Robert Watson
69a451890e
o Mention kern.suser_permitted
...
Obtained from: TrustedBSD Project
2000-06-05 14:56:01 +00:00
Yoshihiro Takahashi
ff1c1afb9f
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
Kenneth D. Merry
b3550398d3
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
Kenneth D. Merry
33fab22e1c
Use the Ic (Internal command) mdoc macro to denote camcontrol subcommands.
...
Submitted by: sheldonh
2000-06-03 22:16:00 +00:00
Kenneth D. Merry
cee3fcd1a2
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
Jonathan Lemon
48f0c5dc0c
Fix memory leak when route addition fails.
...
Obtained from: NetBSD
2000-06-02 21:19:43 +00:00
Greg Lehey
b47055ad2c
Add new function declarations.
2000-06-02 03:55:01 +00:00
Greg Lehey
b6847cd633
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
Greg Lehey
7d3e5fc5f4
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
Greg Lehey
abda606acd
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
Mike Smith
6801d96c70
Don't try to do anything with the /dev/rXXX device.
2000-05-31 01:00:51 +00:00
Mike Smith
149938cc61
Don't try to open the /dev/rXXX device.
2000-05-31 00:58:55 +00:00
Darren Reed
d3215ca1c3
add common.c to SRCS to fix compile problems
2000-05-24 20:04:41 +00:00
Sheldon Hearn
3de0a719e7
Fix a small grammar nit, with the maintainer's implicit approval.
2000-05-22 08:41:57 +00:00
Kenneth D. Merry
96a93c63a8
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
David E. O'Brien
fac3d98105
Document "-alias".
2000-05-20 18:05:24 +00:00
Ruslan Ermilov
11c2b3bf00
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
Tim Vanderhoek
f88b745f8a
Fix a bunch of typos.
...
Some Submitted by: docs/18543 (Anatoly Vorobey)
2000-05-15 14:55:56 +00:00
Tim Vanderhoek
ec2f949e2e
Typo: "ealgo" -> "aalgo"
...
PR: docs/18547 (OKAZAKI Tetsurou <okazaki@be.to>)
2000-05-15 14:16:30 +00:00
Tim Vanderhoek
042f27bd00
.Xr boot0cfg 8 ,
...
PR: misc/18267 (Usov Alexander <[3]usov@ups.kiev.ua>)
2000-05-13 14:41:04 +00:00
Greg Lehey
36fba7e903
Add external for -i option.
2000-05-11 08:57:09 +00:00
Greg Lehey
e46f1e870a
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
Greg Lehey
371cbd825b
Add -i (interval) option, for use with start command.
2000-05-11 07:33:53 +00:00
Greg Lehey
672ef75209
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
Greg Lehey
a744e0d33d
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
Sheldon Hearn
0f5fcaa3f1
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
Paul Saab
e0ab5cb523
Tidy up the offset calculations.
...
Submitted by: bde
2000-05-09 22:20:14 +00:00
Yoshihiro Takahashi
f9602de6f7
Add '-DPC98' to CFLAGS if MACHINE == pc98.
2000-05-09 13:46:14 +00:00
Paul Saab
8df53a80dc
Read the correct size into kdumplo.
...
Botched/Noticed by: peter
2000-05-09 01:08:00 +00:00
Paul Saab
332dbf570d
Allow savecore to work on > 2GB partitions.
...
Submitted by: peter
2000-05-08 22:57:35 +00:00
Kris Kennaway
257875bed0
Update device name.
2000-05-07 09:27:53 +00:00
Kris Kennaway
334f24bbab
Update references to disk and tape devices.
2000-05-07 09:16:56 +00:00
Kris Kennaway
2ea2e54219
Update device names in examples.
2000-05-07 09:08:31 +00:00
Alexey Zelkin
41d34b5f4f
Fix typo
...
Noticed by: hoek
2000-05-06 14:20:07 +00:00
Mike Pritchard
fe27ded896
Correct an xref.
...
PR: doc/13218
Submitted by: phantom
2000-05-05 02:25:19 +00:00
Mike Pritchard
c793874313
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
Alexey Zelkin
eb418154a1
mdoc(7) style fixes and cleanup
2000-05-04 17:34:31 +00:00
Alexey Zelkin
533fa4bd2d
Fix path to ip6fw
2000-05-04 17:33:27 +00:00
Alexey Zelkin
808cf09329
. 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
Alexey Zelkin
76ca72b7eb
Remove outdated BUGS section. We'll never rename comcontrol to siocontrol.
2000-05-04 16:48:33 +00:00
Ruslan Ermilov
4330006d9e
New option: -redirect_proto.
2000-05-03 15:06:45 +00:00
Sheldon Hearn
353fa3b66d
Remove extraneous Dv macro that slipped in, in rev 1.64.
2000-05-03 08:59:44 +00:00
Jeroen Ruigrok van der Werven
1552a9dbad
Remove unused include.
2000-05-01 20:20:05 +00:00
Jeroen Ruigrok van der Werven
f1fb54a2f5
Remove unused include, and place sys includes at top, which enabled
...
us to remove this include.
2000-05-01 20:19:44 +00:00
Jeroen Ruigrok van der Werven
2ec1f77190
Remove unused includes.
2000-05-01 20:01:16 +00:00
Jeroen Ruigrok van der Werven
219f5cc47b
Remove unused #include.
2000-05-01 19:39:36 +00:00
Jeroen Ruigrok van der Werven
eb78dd7d3a
Remove unused #include.
2000-05-01 18:52:42 +00:00
Alexey Zelkin
4a737e97c7
. clear `.Os' macro value since this tool is not KAME only anymore
...
. add integration note
2000-05-01 14:57:04 +00:00
Andrey A. Chernov
09dd94d856
Print options only supported by device, back out printing options separately
...
Pointed-by: bde
2000-05-01 12:14:30 +00:00
Nik Clayton
57c68d4526
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
Josef Karthauser
dee921f457
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
Josef Karthauser
30395bb5f1
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
Andrey A. Chernov
85a23112fd
Allow "-" for working with STDIN
...
Allow printing of each option separately when keyword specified without a
number
2000-04-30 18:06:04 +00:00
Brian Feldman
0f95689794
Allow overriding of net.inet.ip.fw.verbose_limit; if you want to make a
...
rule that logs without a log limit, use "logamount 0" in addition to "log".
2000-04-30 06:44:11 +00:00
Ruslan Ermilov
bd69051080
Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).
2000-04-27 17:55:17 +00:00
David E. O'Brien
07b0cf9a50
/dev/r<FOO> => /dev/<FOO>
2000-04-26 11:24:44 +00:00
David E. O'Brien
42d6bd4884
A local WIP snook in rev 1.31.
...
Noticed by: bde
2000-04-21 05:40:05 +00:00
David E. O'Brien
43c6c959b9
Found more places where 'r' was being prepended to the device name.
2000-04-20 08:00:29 +00:00
Greg Lehey
6eb38370fb
Remove MAINTAINER.
2000-04-16 00:17:46 +00:00
Warner Losh
37736675d1
Add include of errno.h where needed, remove extern int errno where not.
...
These commits were inspired by a similar commit to netbsd.
2000-04-14 06:15:01 +00:00
Warner Losh
71e93b3961
Better error message for a case that I hit.
2000-04-14 06:10:01 +00:00
David E. O'Brien
09c4216dd5
Don't prepend "r" for the raw device anymore.
2000-04-10 05:54:47 +00:00
Boris Popov
21529323c9
Pass timezone information to an nwfs mount.
2000-04-05 10:48:53 +00:00
Brian Somers
7ffac027b3
Correct Charles Mott's email address
...
Requested by: cmott@scientech.com
2000-04-02 20:23:34 +00:00
Joerg Wunsch
04285c0615
Avoid rawname() stupidly prepending an `r' before the device name even
...
in cases where the supplied name was already pointing to a character
special device. This fixes the breakage that occured when trying to
dump a filesystem by name (e. g. /usr), with an fstab already
mentioning the raw device name (like /dev/rda0g) where dump attempted
to use /dev/rrda0g then.
Also removed the now obsolete remark that fstab were carrying block
special names.
2000-04-02 10:16:40 +00:00
Yoshinobu Inoue
d2a6238892
Add new rtmsg types which already defined in kernel.
2000-03-30 07:18:04 +00:00
KATO Takenori
4557555b36
Added 640KB and 1232KB formats, which were standard MS-DOS formats of
...
2DD and 2HD disks in Japan.
Submitted by: Shigeharu TAKENO <shige@iee.niit.ac.jp>
Pointed out by: chi@bd.mbn.or.jp (Chiharu Shibata)
2000-03-30 03:41:09 +00:00
Yoshinobu Inoue
230df2f637
Prevent buffer overflow.
...
PR: bin/17657
Submitted by: tanimura
2000-03-30 01:50:15 +00:00
Sheldon Hearn
fd5075e5c6
Back out the new advice introduced in the previous commit, which at
...
least one reviewer is now unhappy with, since it contains incomplete
and misleading advice that is not easy to correct.
The net effect of this commit and the previous commit is to simply
remove all discussion of setting dumpdev to catch crash dumps
prior to entering user mode.
2000-03-28 15:54:32 +00:00
Sheldon Hearn
df586e923b
Update instructions for setting the dump device prior to multi-user
...
mode.
Reported by: dcs
Submitted by: asmodai
2000-03-28 09:32:38 +00:00
Bruce Evans
07b065a591
Fixed a missing library in DPADD.
...
Fixed some misformattings.
2000-03-27 18:38:29 +00:00
Bruce Evans
54672551d7
Fixed missing DPADDs.
...
Fixed style bug for LDADD (don't use += for initial definitions).
2000-03-27 16:40:59 +00:00
Bruce Evans
f68c4d880f
Use the same order in DPADD as in LDADD so that `make checkdpadd' doesn't
...
report an error for it.
Fixed some style bugs (the usual ones for DPADD and LDADD, and
misformatting).
2000-03-27 16:23:20 +00:00
Philippe Charnier
f793da754a
1000000 usec -> 1 sec 0 usec; fix
2000-03-26 15:13:17 +00:00
Dag-Erling Smørgrav
98d83e38b9
Mention linprocfs.
2000-03-25 13:46:16 +00:00
Dag-Erling Smørgrav
57936c7a07
Add mount_linprocfs.
2000-03-25 13:27:47 +00:00
John Baldwin
c8693bccf4
Now that we have uc_device.h, use that instead of hard-coding struct
...
uc_device's definition into kget.
2000-03-24 21:39:09 +00:00
Mike Pritchard
d105b18b22
Spelling fix.
2000-03-24 01:22:53 +00:00
Bruce Evans
e9ae1d4b2d
Fixed style bugs in rev.1.28. Rev.1.28 was not submitted by bde.
2000-03-20 20:07:28 +00:00
Poul-Henning Kamp
beff200af8
B_READ is gone, check for BIO_READ instead.
...
Not tested.
2000-03-20 17:12:45 +00:00
Peter Wemm
8933a11127
Make this compile. This is a hack.
2000-03-20 08:17:34 +00:00
Paul Saab
2837fe5558
Only character devices exsist these days. Make savecore understand
...
this.
2000-03-20 06:54:06 +00:00
KATO Takenori
1c206c591f
Activate the pc98 directory.
2000-03-18 16:49:22 +00:00
KATO Takenori
8220dd2744
Added PC98 version of fdisk.
2000-03-18 16:48:41 +00:00
Poul-Henning Kamp
ac989b7073
Make the fore_dnld program more robust and reliable.
...
In particular HZ=1000 would seem to break it before.
2000-03-17 17:09:55 +00:00
Matthew Hunt
5beb2d87ea
Typo ("frequencey").
2000-03-15 20:48:01 +00:00
Yoshinobu Inoue
6ecbec7768
Use CMSG_LEN() to compute ping SCM_TIMESTAMP cmsg_len.
...
Without this, cmsg_len size should be smaller than necessary on alpha.
(Though, no obvious error was seen on ping time value on beast.)
2000-03-14 17:37:19 +00:00
Sheldon Hearn
060ac658cc
Open the device read-only initially and re-open read-write if necessary
...
later. This allows tunefs -p on mounted filesystems.
Side-effects:
Use K&R prototypes.
Use definitions from fcntl.h for the flags argument to open(2).
There are cosmetic differences between this and the submitted patch.
PR: 17143
Reported by: Peter Edwards <peter.edwards@ireland.com>
Submitted by: luoqi
2000-03-14 07:44:32 +00:00
Sheldon Hearn
7b0070fc20
Fix nits in previous commit: restore option ordering of the option
...
description list; break an overly long line; use the Fx macro instead
of "FreeBSD".
2000-03-13 10:55:21 +00:00
Yoshinobu Inoue
f9b3ac8d7f
Add missing end of semi colon of an example setkey command.
...
Submitted by: kuriyama
2000-03-13 01:38:46 +00:00
Yoshinobu Inoue
17deb18225
Typo fix. s/SAD/SPD/.
...
Specified by: jdp
2000-03-12 19:56:30 +00:00
Yoshinobu Inoue
b2fa7d408d
Clear sin6_scope_id before passing routes into kernel, becaues kernel
...
don't support routes with sin6_scope_id set.
Without this fix, routes with IPv6 scoped addr won't work when it is
assigned by "route" command.
Approved by: jkh
Reviewed by: ume
2000-03-11 20:52:01 +00:00
Warner Losh
10b0ee9392
-e -> -I change.
...
-s for sumary
Approved by: jkh
2000-03-10 22:03:00 +00:00
David E. O'Brien
dc6bbfb6f8
Don't use the old raw name for disk devices.
2000-03-09 19:35:32 +00:00
Yoshinobu Inoue
690a43db7e
Update icmp node info query message bit order of query types,
...
according to draft-ietf-ipngwg-icmp-name-lookups-04 to 05 change.
This is necessary before 4.0, because,
-This change is non backword compatible
-Other KAME derived platforms applied 05
-Author of the draft said he never do backword imcompatible changes
again.
Approved by: jkh
Obtained from: KAME project
2000-03-09 14:47:21 +00:00
Sheldon Hearn
2ed2dc52a6
Remove more single-space hard sentence breaks.
2000-03-06 09:45:37 +00:00
Peter Wemm
3812e2664a
Purely cosmetic tweak, use consistant whitespace with scopeid.
2000-03-06 05:29:56 +00:00
Yoshinobu Inoue
7d0d8dc306
CMSG_XXX macros alignment fixes to follow RFC2292.
...
Approved by: jkh
Submitted by: Partly from tech@openbsd
Reviewed by: itojun
2000-03-03 11:13:12 +00:00
Joseph Koshy
dba060d3e9
The new boot code uses ad' for ATA disks, not
wd'. Correct the
...
manual page.
2000-03-03 09:51:45 +00:00