Re: /dev before the root filesystem is mounted

From: Jan Engelhardt
Date: Mon Nov 13 2006 - 06:36:58 EST



> I want the kernel (2.4) to display (just using printk) all available
> devices with full path (/dev/...) before the root filesystem is
> mounted.

Case 1: You do not use an initrd/initramfs:
/ is empty, /dev does not exist.

Case 2: You do use an initrd/initramfs
You populated /dev during creation of the initrd/initramfs image OR
your init script inside the initrd/initramfs mknods the nodes when run.


-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/