On Fri, 15 Aug 2008 13:16:52 +0200 Giorgio Agrelli <giorgio_a@libero.it> wrote:
But, for the system to boot up properly, there have to be some dev files in /dev before devfs is mounted (console and stuff like that). Is that correct?
yep :) but devfs is ancient stuff (devfs was kernel space and so it was up as soon as the kernel was up, so you didn't need files in dev)... now we have udev in userspace...
Sorry I meant devpts which is just for virtual terminals as far as I've understood.
* Is there a way to check if those dev files exist without booting from another partition?
hmm dont'know, it's up to your fantasy... if the system gets up and running you could put the check and subsequent mknod in rc and/or rc.single before udev starts...
It looks like mounting / a second time in /mnt/mnt/ worked.
* What do you mean when you say "When your rootfs isn't live (up and running)"?
the system is not running from that rootfs (i.e. when you booted from a live cd or with the system on another partition), aka udev is not handling it.
Mmm I haven't understood. Thanks for help anyway. :) -- Value your freedom, or you will lose it, teaches history. ``Don't bother us with politics,'' respond those who don't want to learn. -- Richard M. Stallman http://www.gnu.org/philosophy/linux-gnu-freedom.html