[gobolinux-users] InitRamFS and cpio format
Lucas C. Villa Real
lucasvr at gobolinux.org
Fri May 18 18:45:21 UTC 2007
On 5/18/07, Aitor Pérez Iturri <aitor.iturri at gmail.com> wrote:
> > Prior to the call to udevd you have to have some basic devices in
> > /dev, as well as sysfs mounted (procfs is probably needed as well).
>
> Why? In the udev rules there are mappings to build basic devices.
According to its readme file:
- Very early in the boot process, the /dev directory should get a 'tmpfs'
filesystem mounted, which is populated from scratch by udev. Created nodes
or changed permissions will not survive a reboot, which is intentional.
- The content of /lib/udev/devices directory which contains the nodes,
symlinks and directories, which are always expected to be in /dev, should
be copied over to the tmpfs mounted /dev, to provide the required nodes
to initialize udev and continue booting.
We're not using /lib/udev/devices, as you can see in our udev task.
Instead, we simply invoke mknod for each one of these expected
devices.
--
Lucas
powered by /dev/dsp
More information about the gobolinux-users
mailing list