static char sccsid
[] = "@(#)status.c 1.3 (Berkeley/CCI) %G%";
** These routines are used to display the status of the formatter.
print("Waiting for operator response.\n");
dump_state("Formatting");
dump_state("Relocating");
dump_state("Correcting");
dump_state("Collecting information");
dump_state("Exercising disk");
printf("Initializing for operation ");
printf("on controller %d, drive %d.\n",
cur
.controller
, cur
.drive
);
print("Current state is unknown.\n");
extern int wait_for_char
;
print("%s on controller %d, drive %d.\n",
string
, cur
.controller
, cur
.drive
);
print("Waiting for operator response.\n");
print("Currently accessing cylinder %d, head %d.\n",
cur
.daddr
.cylinder
, cur
.daddr
.track
);
printf("determining drive state.\n");
printf("formatting drive surface.\n");
printf("verifying drive surface.\n");
printf("performing relocation operations.\n");
printf("recovering from hardware error.\n");
printf("writing relocation map.\n");
printf("I don't know what is happening.\n");