diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-18 10:43:51 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-18 10:43:51 +0000 |
commit | 0a62eb4cbf62397cf5a132eb6a0ecba52d1d0602 (patch) | |
tree | 787cc2e916e553ea909c461c8f60ed523a4a870c /release | |
parent | 78d20e07521852001cf4355169ab025c0ab103db (diff) | |
download | FreeBSD-src-0a62eb4cbf62397cf5a132eb6a0ecba52d1d0602.zip FreeBSD-src-0a62eb4cbf62397cf5a132eb6a0ecba52d1d0602.tar.gz |
Do more proper bad144 handling. Thanks, Rod.
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/install.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c index dcfba55..80cc112 100644 --- a/release/sysinstall/install.c +++ b/release/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.20 1995/05/17 16:16:08 jkh Exp $ + * $Id: install.c,v 1.21 1995/05/18 09:01:54 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -113,10 +113,12 @@ installCommit(char *str) int ret; msgNotify("Running bad block scan on partition %s", c1->name); + ret = vsystem("bad144 /mnt/dev/%s 1234", c1->name); + if (ret) + msgConfirm("Bad144 init on %s returned status of %d!", c1->name, ret); ret = vsystem("bad144 -v -s /mnt/dev/%s", c1->name); if (ret) msgConfirm("Bad144 scan on %s returned status of %d!", c1->name, ret); - /* XXX do something else XXX */ } } } |