diff options
author | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-02-17 20:26:04 +0000 |
---|---|---|
committer | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-02-17 20:26:04 +0000 |
commit | ed66bd9df959300ac28a537e4a42190c17dc0d32 (patch) | |
tree | 10bfc0a4322525dc8265179e125c92087214f2dc /etc/rc | |
parent | e493ca639b9386fb7189b278268b60cb6669612f (diff) |
raid(4) parity check simplification
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 # or after single-user. @@ -60,10 +60,12 @@ fi for dev in 0 1 2 3; do if [ -f /etc/raid$dev.conf ]; then raidctl -c /etc/raid$dev.conf raid$dev - raidctl -v -P raid$dev fi done +# Check parity on raid devices. +raidctl -v -P all + swapctl -A -t blk if [ -e /fastboot ]; then |