From: David B. Z. <dav...@co...> - 2001-06-27 03:57:39
|
"Brian J. Watson" wrote: > How this would work for an SSI cluster is that the node would mount a > local ramdisk and start a modified linuxrc as process 1. In addition > to its usual stuff, linuxrc would run our command to join the cluster, > then it would pivot_root() the clusterwide shared root into place. > Finally, it would exec init if it's the first node in the cluster, or > exit otherwise. (Please correct me if I'm wrong, Dave) We make the first process pid 2 (intead of 1 as in base LINUX), so that only if init needs to get spawned do we specifically create pid 1 and exec init, otherwise, if an init is NOT needed (dependent node), the pid 2 process just sleeps forever. We don't have pid 2 exit because all the system daemons are its children and we don't want them inherited by process 1. -- David B. Zafman | Compaq Computer Corporation mailto:dav...@co... | http://www.compaq.com "Thus spake the master programmer: When you have learned to snatch the error code from the trap frame, it will be time for you to leave." |