diff --git a/src/bin/clock/Makefile b/src/bin/clock/Makefile index 853255a..fbe07ad 100644 --- a/src/bin/clock/Makefile +++ b/src/bin/clock/Makefile @@ -29,6 +29,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/cp/Makefile b/src/bin/cp/Makefile index 7255ce7..795d5b0 100644 --- a/src/bin/cp/Makefile +++ b/src/bin/cp/Makefile @@ -17,6 +17,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/disklabel/Makefile b/src/bin/disklabel/Makefile index 7337e54..aa79d53 100644 --- a/src/bin/disklabel/Makefile +++ b/src/bin/disklabel/Makefile @@ -26,6 +26,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/fdisk/Makefile b/src/bin/fdisk/Makefile index 2611256..cc26596 100644 --- a/src/bin/fdisk/Makefile +++ b/src/bin/fdisk/Makefile @@ -26,6 +26,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/format/Makefile b/src/bin/format/Makefile index 18d1db5..273e8c0 100644 --- a/src/bin/format/Makefile +++ b/src/bin/format/Makefile @@ -26,6 +26,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/init/Makefile b/src/bin/init/Makefile index 0a76efe..9bc4660 100644 --- a/src/bin/init/Makefile +++ b/src/bin/init/Makefile @@ -17,6 +17,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/init/main.c b/src/bin/init/main.c index c02a89f..c9cac0f 100644 --- a/src/bin/init/main.c +++ b/src/bin/init/main.c @@ -61,8 +61,15 @@ printf("Initializing System.\n"); - if (fork() == 0x0) { + i = fork(); + if (0 == i) { + printf("Starting Ubix Registry (ubistry)\n"); exec("ubistry@sys",0x0,0x0); + printf("Error: Error Starting ubistry\n"); + exit(-1); + } + while (pidStatus(i) > 0x0) { + sched_yield(); } startup: @@ -71,7 +78,7 @@ printf("Starting Login Daemon.\n"); exec("login@sys",0x0,0x0); printf("Error Starting System\n"); - exit(0); + exit(-1); } else { while (pidStatus(i) > 0x0) { @@ -96,6 +103,9 @@ /*** $Log$ + Revision 1.9 2004/05/26 12:19:19 reddawg + init: init now starts the ubix registry system + Revision 1.8 2004/05/25 22:44:59 reddawg Test code diff --git a/src/bin/launcher/Makefile b/src/bin/launcher/Makefile index f58decb..0640967 100644 --- a/src/bin/launcher/Makefile +++ b/src/bin/launcher/Makefile @@ -32,7 +32,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CXX) -o $@ -lm -lstdc++ $(LIBRARIES2) $(OBJS) - #strip $(BINARY) + strip $(BINARY) # Compile the source files .cpp.o: diff --git a/src/bin/ld/Makefile b/src/bin/ld/Makefile index a9aa36b..7118486 100644 --- a/src/bin/ld/Makefile +++ b/src/bin/ld/Makefile @@ -26,6 +26,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/login/Makefile b/src/bin/login/Makefile index 5543379..6557744 100644 --- a/src/bin/login/Makefile +++ b/src/bin/login/Makefile @@ -17,6 +17,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/ls/Makefile b/src/bin/ls/Makefile index eb1967a..af8cca9 100644 --- a/src/bin/ls/Makefile +++ b/src/bin/ls/Makefile @@ -26,6 +26,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/shell/Makefile b/src/bin/shell/Makefile index 17f11a7..a571989 100644 --- a/src/bin/shell/Makefile +++ b/src/bin/shell/Makefile @@ -26,6 +26,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: diff --git a/src/bin/shell/commands.c b/src/bin/shell/commands.c index 68470b9..c3a4cd2 100644 --- a/src/bin/shell/commands.c +++ b/src/bin/shell/commands.c @@ -78,7 +78,6 @@ } } else if (memcmp(data->args->arg,"msg",3) == 0x0) { - printf("\n"); mpiPostMessage(data->argv[1],atoi(data->argv[2]),data->argv[3]); for (i=0;i<10;i++) { sched_yield(); diff --git a/src/bin/views/Makefile b/src/bin/views/Makefile index ba3707e..654f73a 100644 --- a/src/bin/views/Makefile +++ b/src/bin/views/Makefile @@ -29,6 +29,7 @@ # Link The Binary $(BINARY) : $(OBJS) $(CC) -nostdlib -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) + strip $(BINARY) # Compile the source files .cc.o: