Skip to contentSkip to conversation

Udevd prerequisite devices?

DISCUSSION Ersin Akinci 2 participants 2 messages Apr 8, 2010 – Apr 9, 2010

lore
Share & tools
lore
#0 lore raw

Just curious, what devices does udevd require to be present in /dev before starting? Right now, I have null, tty0, and console, but then udevd hangs during boot. When I copy just null, udevd starts but doesn't populate /dev. Finally, when I try to copy null, tty0, console, and zero, cp complains about not enough space on the device (I'm guessing on the /dev tmpfs). I'm running everything out of an initramfs, perhaps that changes things.

-Ersin

#1 lore raw
Quoted 7 lines · Ersin Akinci

Just curious, what devices does udevd require to be present in /dev before starting?  Right now, I have null, tty0, and console, but then udevd hangs during boot.  When I copy just null, udevd starts but doesn't populate /dev.  Finally, when I try to copy null, tty0, console, and zero, cp complains about not enough space on the device (I'm guessing on the /dev tmpfs).  I'm running everything out of an initramfs, perhaps that changes things.

That sounds more like a different issue than udev itself.

/dev/null should be all you need. /dev/console would be useful, and /dev/kmsg udev tries to write its startup message to, but only /dev/null should be needed.

Anyway, just might just want to mount devtmpfs at /dev before starting udev and all should be solved without the need for any manual device node creation.

Kay