tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: amd64 kernel, i386 userland
Alan Barrett <apb%cequrux.com@localhost> 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
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index