Getting started with mdev

Trevor Harmon trevor at vocaro.com
Wed Dec 13 21:09:25 PST 2006


Hi,

I need some help getting started with mdev. I tried to find some  
documentation on it, but there doesn't seem to be much out there.

I started with an empty /dev, but that causes a failure on boot:  
"Warning: unable to open an initial console."

I then manually created an entry for /dev/console, and that allows  
the system to boot, but /dev still isn't being populated. All I see  
is the /dev/console entry I created myself. And yet, the system seems  
to be running fine otherwise.

I also note that there is no /sys directory, even though I have  
CONFIG_SYSFS enabled in my kernel. Is this why mdev is not  
populating /dev?

In BusyBox, I have CONFIG_FEATURE_MDEV_CONF turned off. I don't think  
I need any special mdev rules; all I have is an Ethernet controller  
and a couple of serial ports. I just want to avoid having to create  
the entire /dev tree manually.

Thanks for any pointers,

Trevor



More information about the busybox mailing list