Easy solution: don't run linuxrc, run something else instead. E.g.
putting the following into the kernel's command line should do th
(With your_script being the original version, without real-root-dev)
> Thereby instead of loading running /sbin/init, we just set
> /proc/sys/kernel/real-root-dev to /dev/ram0's value which then does the
Anything involving real-root-dev is likely to be an anachronism.
Combining it with pivot_root just makes it more weird.
> Is this ok or should be modify /sbin/init to run properly inspite of PID
> <> 1 or is there a 3rd way of doing this?
I'd consider the "PID of init must be 1" a bit of an anachronism too.
After all, a modern Unix system has quite a few demons that you don't
want to kill either, so why make init special ? But anyway, you don't
need to change init.
-- _________________________________________________________________________ / Werner Almesberger, ICA, EPFL, CH Werner.Almesberger@epfl.ch / /_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/