Through my trials, I noticed that while fdisk works fine on the Alpha
and the kernel recognizes partitioned'd drives, MILO chokes on them. It
appears that MILO only recognizes labeled drives. Can someone confirm
this?
Secondly, playing with SysVinit illuminated a odditiy of waitpid() on axp.
It seems to return -10 instead of -1 if no child processes exist and/or no
status information is avilable. Under i386 Linux, it returns -1 or 0 for those
two cases.
Here's small program to illustrate...
#include <sys/wait.h>
main () {
int s;
int pid;
while (pid = waitpid(-1, &s, WNOHANG)) {
if (pid == -1) {
perror("waitpid");
}
printf("child %ld died\n", pid);
}
}
This prints -1 repeatedly on i386, but -10 repeatedly on axp. Lewine's POSIX
book doesn't mention -10 as a valid return code at all.
Any help would be appreciated.
Erik
-------------------------------------------------------------------------------
"Eggheads unite! You have nothing to lose but your yolks" - Adlai Stevenson
Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu