[gobolinux-users] InitRamFS and cpio format

Guilherme Bedin gbedin at gmail.com
Thu May 17 19:18:45 UTC 2007


Hi,

 I not a udev expert either, but I select some anwsers from the udev FAQ:

Q: How is udev related to devfs?
A: udev works entirely in userspace, using hotplug events the kernel sends
   whenever a device is added or removed from the kernel. Details about
   the devices are exported by the kernel to the sysfs filesystem at /sys
   All device naming policy permission control and event handling is done in
   userspace. devfs is operated from within the kernel.

Q: Will udev support symlinks?
A: Yes, It now does.  Multiple symlinks per device node are supported.

Q: How will udev handle the /dev filesystem?
A: /dev is recomended to be a tmpfs filesystem that is recreated on
every reboot.
   Although, udev does not care what kind of filesystem it runs on.

Q: How will udev handle devices found before init runs?
A: udev can be placed in initramfs and run for every device that is found.
   udev can also populate an initial /dev directory from the content of /sys
   after the real root is mounted.

On 5/17/07, Aitor Pérez Iturri <aitor.iturri at gmail.com> wrote:
> Hi all,
>
> I make a initramfs cpio file that seems to run.
> Now i'm having problems with udev, when it boots my sda disk is nor
> present under /dev, so lvm doesn't run.
>
> I don't know very well how udev runs, i compiled a udev version with
> klibc, i run udevd --daemon, but seems not to work.
>
> Anyone can resume how udev works to integrate it in the initramfs.
> Is udev related anyway with hotplug?
>
> Greets.
> Aitor.
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>


-- 
Guilherme Balestieri Bedin [gbedin]


More information about the gobolinux-users mailing list