After reading initrd.txt yet again.... I still don't understand when /linuxrc is run, and reading the source doesn't help, and reading kernel source documentation books don't help either.
I'm working with a Linux 2.2.20 kernel with CONFIG_BLK_DEV_INITRD set to "y", and with Openwall patches loaded and NO LRP patches at all. Questions I have that I need answers for: 1. What is the value of ROOT=? Kernel sources and initrd.txt imply it should be /dev/ram, but I'm not sure why. 2. How does all of this interact with the kernel value returned by rdev? 3. In linux/init/main.c, what is the value of ROOT_DEV? real_root_dev? Where are they set and how? What should they be set to? Which one is affected by writing to /proc/sys/kernel/real-root-dev? 4. Does it matter whether a zImage or bzImage is made? I thought not - but then initrd.txt implies that it matters, as there is a "bzImage+initrd" patch alluded to... 5. What is the status of /dev/initrd? Do we need it? What is it for? initrd.txt says it can be useful; devices.txt says that it will be obsoleted as of 2.6. One interesting thing I never thought of - but which was suggested by initrd: use init=/bin/sh or link /linuxrc to /bin/sh.... both VERY interesting ideas... -- David Douthitt UNIX Systems Administrator HP-UX, Unixware, Linux [EMAIL PROTECTED] _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel