diff --git a/WEGA/src/cmd/format.c b/WEGA/src/cmd/format.c index 55e5d34..f878584 100644 --- a/WEGA/src/cmd/format.c +++ b/WEGA/src/cmd/format.c @@ -5,8 +5,8 @@ Programm: format.c Bearbeiter : P. Hoge - Datum : ??.??.?? - Version : 1.5 + Datum : 30.11.89 + Version : 1.6 *************************************************************************** @@ -16,6 +16,7 @@ *************************************************************************** **************************************************************************/ +#include #include #include #include @@ -60,6 +61,13 @@ char **argv; exit(1); } + /* Programm darf nicht abgebrochen werden */ + signal(SIGALRM, SIG_IGN); + signal(SIGHUP, SIG_IGN); + signal(SIGINT, SIG_IGN); + signal(SIGQUIT, SIG_IGN); + signal(SIGTERM, SIG_IGN); + buf = 'F'; write(dd, &buf, 1); /* Start Request F: Format */ buf = stbuf.st_rdev; /* Minornummer (Typ + Drivenr.) */