lukem
9a1b8a3b7b
appease gcc -Wuninitialized
2005-06-02 00:01:47 +00:00
oster
c10404e844
Cleanup the meter code a bit -- a bunch of stuff wasn't even being used.
...
Fix a few overflow issues. (Thanks to beefy and pooka, among others)
2005-05-01 22:37:34 +00:00
wiz
0a22669b85
Bump date for previous.
2005-02-28 22:03:05 +00:00
oster
3202ca277a
Add a few more lines about the 'Parity status:' output of 'raidctl -s'.
...
This should address PR#29540.
2005-02-28 20:37:14 +00:00
xtraeme
f0121f1f1b
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-09 14:21:37 +00:00
wiz
0c1ed68c30
Give Dd the full month names as argument.
2005-02-01 13:38:53 +00:00
fredb
4627df7dfc
Greg Oster just reminded me, I left out "vax".
2005-01-31 17:11:33 +00:00
fredb
680ae8dc03
Sync with raid(4) regarding the architectures that support booting directly
...
from RAID 1, using language supplied by Anders Dinson in PR bin/29158, with
some additions by myself.
2005-01-31 16:42:15 +00:00
xtraeme
76500fc2f9
WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
2005-01-20 16:39:22 +00:00
oster
42abd8f7a0
Cleanup a bit by nuking RF_Malloc macro, and add in some error
...
checking for the case where we can't allocate memory. (Not like
anyone uses this part of the code anyway.)
2004-10-26 22:46:27 +00:00
oster
fa730392bc
Strip off trailing \n's and spaces from configuration file lines.
...
Makes RAIDframe more forgiving if you accidentally add a space after
things like device names. Fixed at long last after a reminder over
the weekend.
2004-10-26 19:52:21 +00:00
oster
2b7fd0220d
How about we use the 'len' parameter to rf_get_next_nonblank_line()
...
instead of assuming all buffers are 256 bytes.
2004-10-26 19:23:19 +00:00
wiz
894fc3b8de
Use Dq instead of quotes; bump date for previous.
2004-05-24 00:08:04 +00:00
oster
1c6a30a0b2
Update docs to reflect the support for the word "absent" in the "disks"
...
section of RAID config files.
2004-05-22 20:58:04 +00:00
wiz
9b2142b96c
Add commas in enumeration; bump date for previous.
2004-05-16 10:27:16 +00:00
dsl
9debb4b795
Add i386 to the list of systems that support booting from raid1.
...
RAID(4) also needs changing - if someone knows where the source is....
2004-05-15 21:46:54 +00:00
snj
853c328fb4
Bump date for last.
2004-04-11 04:15:53 +00:00
oster
e3d079e02e
Swapping to RAID 5 is happy now. Remove indications to the contrary.
2004-04-11 02:46:27 +00:00
oster
0084f2a5e2
Note in the description of hot-adding components that a component label is
...
not required for the component. Thanks to David Maxwell for the
documentation suggestion.
2004-02-29 22:22:35 +00:00
oster
eac5920af1
As suggested by Paul Ripke, have raidctl use raw devices by default.
2004-02-29 20:40:29 +00:00
wiz
8920f41e3e
Bump date for previous.
2003-11-02 09:01:47 +00:00
oster
f80b4d6ea1
Add a couple little warnings about swapping to RAID 5 sets.
...
(it currently doesn't work.)
2003-11-02 02:20:26 +00:00
fvdl
efbda96887
Don't compare argc to NULL.
2003-10-21 02:31:43 +00:00
itojun
0b04aee3ea
use bouded string ops
2003-07-13 07:37:02 +00:00
agc
c2a3b5ec84
Add NetBSD RCS Ids.
2003-06-23 11:53:35 +00:00
itojun
aa5672d8c5
sscanf overrun
2003-05-17 01:02:01 +00:00
itojun
84490858f9
correct questionable use of strncpy().
2003-04-15 07:36:14 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
a6e74f9b81
Remove trailing space.
2002-11-16 23:54:16 +00:00
oster
01b2347533
Catch up on some documentation stuff:
...
- add a note about adding 'swapoff=YES' to /etc/rc.conf
- add a note about not using raid0[cd] for a filesystem.
- filesystems -> file systems
2002-11-16 22:49:48 +00:00
oster
c1058540a3
Cleanup and update usage().
2002-11-16 17:22:36 +00:00
wiz
1233505082
Use more markup.
2002-10-01 14:20:26 +00:00
wiz
2fb4b1db52
New sentence, new line. By Robert Elz with minimal fixes.
2002-10-01 13:40:23 +00:00
wiz
7b1f0f9426
Remove duplicate 'to'. From Ryo HAYASAKA in bin/17562.
2002-07-11 15:06:04 +00:00
simonb
6fccd7ab03
Open the raid device read-only for the commands that don't need
...
write access. With the default set up this allows users in group
operator to query the status of the raid devices.
Fixes PR admin/15840.
2002-03-21 00:27:11 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
wiz
8c920e9e22
Drop trailing whitespace.
2002-01-21 11:40:20 +00:00
oster
c4aed2da0e
Add a description of how to possibly recover a RAID set in the
...
event of a multiple disk failure.
2002-01-20 02:30:11 +00:00
wiz
dbb255dc26
Don't abuse -unfilled for -literal; sort sections, sort SEE ALSO, drop
...
lots of unnecessary .Pps.
2001-11-16 11:06:46 +00:00
wiz
4ce43ae0cd
Whitespace nits
2001-11-16 10:25:42 +00:00
oster
6c2d6f6c4f
Remove cruft. We no longer need to look into sys/dev/raidframe to
...
find the needed include files.
2001-10-04 16:03:05 +00:00
oster
541d521a40
rf_configure.c
...
- remove dependence on stuff in sys/dev/raidframe
- now rely on <dev/raidframe/*>
- bring in some needed prototypes for local functions
- nuke RF_ASSERT's.
- drag in some needed RF_ERRORMSG's
raidctl.c
- rely on <dev/raidframe/*>
- welcome to the New Way of doing RAIDframe #includes.
(No functional changes.)
2001-10-04 16:02:08 +00:00
oster
75d30c8978
Add a pruned-down version of rf_configure.h. First step at disentangling
...
raidctl files from the hairy .h file mess.
2001-10-04 16:00:37 +00:00
oster
91ffb9ffd3
Since this is the only place it's used, nuke RF_DEV2RAIDID and
...
replace it with DISKUNIT.
2001-09-26 02:59:40 +00:00
lukem
364e3039be
* add -G, which lists the configuration of the given raid set in the
...
same configuration format that -c and -C use.
this is useful if you're using autoconfig and you've misplaced the
/etc/raidXXX.conf files
* "filesystem" -> "file system", and other man page cleanups.
2001-07-10 01:30:52 +00:00
wiz
73f545bb5b
Drop arguments of .Os.
2001-06-05 11:22:41 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
christos
e2571306fb
remove redundant prototypes.
2001-02-04 21:05:42 +00:00
oster
705631a231
Move parts of a RAID type mapping table from rf_layout.c to rf_configure.c.
...
This means we don't need to compile or link with rf_layout.c here.
2001-01-27 19:32:47 +00:00
wiz
944d6ad333
Check return value of fgets. Approved by Greg Oster.
2000-12-31 01:58:03 +00:00