Alan Barrett <[email protected]> wrote:

> init detects the absence of /dev/console, and tries to mount a 
> tmpfs /dev, but the first step in that process is chdir("/dev"), 
> which fails when /dev is a dangling symlink.

The easier way would therefore just be to remove the content of /dev and
let init do the work, but unfortunately, init uses MAKEDEV. Perhaps it
could be changed to get the data from kernel. sysctl kern.drivers seems
a good starting point. 

Or perhaps what we need is just a mount_devfs command, that would
mount_tmpfs, retreive data from kernel using sysctl and perform mknod(2)
to create the devices.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
[email protected]

Reply via email to