Re: final(?) no-daemon kmod diffs for linux-2.1.96

Adam J. Richter (adam@yggdrasil.com)
Thu, 16 Apr 1998 10:13:59 -0700


>> = Adam Richter
> = H. Peter Anvin
>> [...] for ramdisks
>> that do not exit, but rather do "exec chroot /mnt /sbin/init".
>
>That wouldn't make init pid 1, though.
>
>I do agree that the right thing to do is to have initrd mount the new
>root filesystem, and communicate it to the kernel somehow (for example
>via /proc/sys), but the kernel needs to be aware of the transition
>event so it can make init pid 1.
>
> -hpa

I believe we can avoid that, by calling the initial ramdisk
program "/sbin/init" instead of "/linuxrc" and doing "rdev
..../vmlinux /dev/ramdisk" on the ramdisk's kernel. Eventually, it
would be nice to delete the special code in the kernel for running
"/linuxrc" once we have a standardized way of releasing a ramdisk
after it is no longer begin used.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu