Add some more debugging statements.
This commit is contained in:
parent
4f3fd9ad3f
commit
1966645d08
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: disks.c,v 1.44 1996/04/28 03:26:49 jkh Exp $
|
||||
* $Id: disks.c,v 1.45 1996/04/28 20:53:54 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -492,6 +492,8 @@ diskPartitionWrite(dialogMenuItem *self)
|
||||
msgConfirm("Unable to find any disks to write to??");
|
||||
return DITEM_FAILURE;
|
||||
}
|
||||
if (isDebug())
|
||||
msgDebug("diskPartitionWrite: Examining %d devices\n", deviceCount(devs));
|
||||
|
||||
for (i = 0; devs[i]; i++) {
|
||||
Chunk *c1;
|
||||
|
@ -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.89 1996/04/28 03:27:02 jkh Exp $
|
||||
* $Id: install.c,v 1.90 1996/04/28 20:54:00 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -179,6 +179,8 @@ installInitial(void)
|
||||
msgConfirm("Couldn't make filesystems properly. Aborting.");
|
||||
return DITEM_FAILURE;
|
||||
}
|
||||
else if (isDebug())
|
||||
msgDebug("installInitial: Scribbled successfully on the disk(s)\n");
|
||||
|
||||
if (!copySelf()) {
|
||||
msgConfirm("Couldn't clone the boot floppy onto the root file system.\n"
|
||||
@ -378,6 +380,8 @@ installCommit(dialogMenuItem *self)
|
||||
|
||||
str = variable_get(SYSTEM_STATE);
|
||||
i = DITEM_LEAVE_MENU;
|
||||
if (isDebug())
|
||||
msgDebug("installCommit: System state is `%s'\n", str);
|
||||
if (RunningAsInit) {
|
||||
if (DITEM_STATUS(installInitial()) == DITEM_FAILURE)
|
||||
return DITEM_FAILURE;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: variable.c,v 1.8 1996/04/13 13:32:15 jkh Exp $
|
||||
* $Id: variable.c,v 1.9 1996/04/23 01:29:35 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -49,6 +49,8 @@ make_variable(char *var, char *value)
|
||||
/* Now search to see if it's already in the list */
|
||||
for (newvar = VarHead; newvar; newvar = newvar->next) {
|
||||
if (!strcmp(newvar->name, var)) {
|
||||
if (isDebug())
|
||||
msgDebug("variable %s was %s, now %s\n", newvar->name, newvar->value, value);
|
||||
strncpy(newvar->value, value, VAR_VALUE_MAX);
|
||||
return;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: disks.c,v 1.44 1996/04/28 03:26:49 jkh Exp $
|
||||
* $Id: disks.c,v 1.45 1996/04/28 20:53:54 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -492,6 +492,8 @@ diskPartitionWrite(dialogMenuItem *self)
|
||||
msgConfirm("Unable to find any disks to write to??");
|
||||
return DITEM_FAILURE;
|
||||
}
|
||||
if (isDebug())
|
||||
msgDebug("diskPartitionWrite: Examining %d devices\n", deviceCount(devs));
|
||||
|
||||
for (i = 0; devs[i]; i++) {
|
||||
Chunk *c1;
|
||||
|
@ -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.89 1996/04/28 03:27:02 jkh Exp $
|
||||
* $Id: install.c,v 1.90 1996/04/28 20:54:00 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -179,6 +179,8 @@ installInitial(void)
|
||||
msgConfirm("Couldn't make filesystems properly. Aborting.");
|
||||
return DITEM_FAILURE;
|
||||
}
|
||||
else if (isDebug())
|
||||
msgDebug("installInitial: Scribbled successfully on the disk(s)\n");
|
||||
|
||||
if (!copySelf()) {
|
||||
msgConfirm("Couldn't clone the boot floppy onto the root file system.\n"
|
||||
@ -378,6 +380,8 @@ installCommit(dialogMenuItem *self)
|
||||
|
||||
str = variable_get(SYSTEM_STATE);
|
||||
i = DITEM_LEAVE_MENU;
|
||||
if (isDebug())
|
||||
msgDebug("installCommit: System state is `%s'\n", str);
|
||||
if (RunningAsInit) {
|
||||
if (DITEM_STATUS(installInitial()) == DITEM_FAILURE)
|
||||
return DITEM_FAILURE;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: variable.c,v 1.8 1996/04/13 13:32:15 jkh Exp $
|
||||
* $Id: variable.c,v 1.9 1996/04/23 01:29:35 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -49,6 +49,8 @@ make_variable(char *var, char *value)
|
||||
/* Now search to see if it's already in the list */
|
||||
for (newvar = VarHead; newvar; newvar = newvar->next) {
|
||||
if (!strcmp(newvar->name, var)) {
|
||||
if (isDebug())
|
||||
msgDebug("variable %s was %s, now %s\n", newvar->name, newvar->value, value);
|
||||
strncpy(newvar->value, value, VAR_VALUE_MAX);
|
||||
return;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: disks.c,v 1.44 1996/04/28 03:26:49 jkh Exp $
|
||||
* $Id: disks.c,v 1.45 1996/04/28 20:53:54 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -492,6 +492,8 @@ diskPartitionWrite(dialogMenuItem *self)
|
||||
msgConfirm("Unable to find any disks to write to??");
|
||||
return DITEM_FAILURE;
|
||||
}
|
||||
if (isDebug())
|
||||
msgDebug("diskPartitionWrite: Examining %d devices\n", deviceCount(devs));
|
||||
|
||||
for (i = 0; devs[i]; i++) {
|
||||
Chunk *c1;
|
||||
|
@ -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.89 1996/04/28 03:27:02 jkh Exp $
|
||||
* $Id: install.c,v 1.90 1996/04/28 20:54:00 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -179,6 +179,8 @@ installInitial(void)
|
||||
msgConfirm("Couldn't make filesystems properly. Aborting.");
|
||||
return DITEM_FAILURE;
|
||||
}
|
||||
else if (isDebug())
|
||||
msgDebug("installInitial: Scribbled successfully on the disk(s)\n");
|
||||
|
||||
if (!copySelf()) {
|
||||
msgConfirm("Couldn't clone the boot floppy onto the root file system.\n"
|
||||
@ -378,6 +380,8 @@ installCommit(dialogMenuItem *self)
|
||||
|
||||
str = variable_get(SYSTEM_STATE);
|
||||
i = DITEM_LEAVE_MENU;
|
||||
if (isDebug())
|
||||
msgDebug("installCommit: System state is `%s'\n", str);
|
||||
if (RunningAsInit) {
|
||||
if (DITEM_STATUS(installInitial()) == DITEM_FAILURE)
|
||||
return DITEM_FAILURE;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: variable.c,v 1.8 1996/04/13 13:32:15 jkh Exp $
|
||||
* $Id: variable.c,v 1.9 1996/04/23 01:29:35 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -49,6 +49,8 @@ make_variable(char *var, char *value)
|
||||
/* Now search to see if it's already in the list */
|
||||
for (newvar = VarHead; newvar; newvar = newvar->next) {
|
||||
if (!strcmp(newvar->name, var)) {
|
||||
if (isDebug())
|
||||
msgDebug("variable %s was %s, now %s\n", newvar->name, newvar->value, value);
|
||||
strncpy(newvar->value, value, VAR_VALUE_MAX);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user