Do more proper bad144 handling. Thanks, Rod.

This commit is contained in:
Jordan K. Hubbard 1995-05-18 10:43:51 +00:00
parent 5eb46edfb0
commit 6aebdd7df9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8591
3 changed files with 12 additions and 6 deletions

View File

@ -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 */
}
}
}

View File

@ -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 */
}
}
}

View File

@ -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 */
}
}
}