Browse Source

raid(4) parity check simplification

OPENBSD_3_1
tdeval 23 years ago
parent
commit
52e47041ab
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/etc/rc

+ 4
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.189 2002/02/09 17:37:34 deraadt Exp $
# $OpenBSD: rc,v 1.190 2002/02/17 20:26:03 tdeval Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -60,10 +60,12 @@ fi
for dev in 0 1 2 3; do for dev in 0 1 2 3; do
if [ -f /etc/raid$dev.conf ]; then if [ -f /etc/raid$dev.conf ]; then
raidctl -c /etc/raid$dev.conf raid$dev raidctl -c /etc/raid$dev.conf raid$dev
raidctl -v -P raid$dev
fi fi
done done
# Check parity on raid devices.
raidctl -v -P all
swapctl -A -t blk swapctl -A -t blk
if [ -e /fastboot ]; then if [ -e /fastboot ]; then


Loading…
Cancel
Save