Opened 10 years ago

Closed 10 years ago

#3620 closed task (fixed)

Eudev does not use /lib/udev/devices

Reported by: Chris Staub Owned by: bdubbs@…
Priority: normal Milestone: 7.6
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

All devices are initially created in /dev by the devtmpfs, so Eudev doesn't copy anything from /lib/udev/devices anymore.

Attachments (1)

eudev.patch (1.8 KB ) - added by Chris Staub 10 years ago.

Download all attachments as: .zip

Change History (8)

by Chris Staub, 10 years ago

Attachment: eudev.patch added

comment:1 by bdubbs@…, 10 years ago

This change also needs to modify the mountvirtfs boot script, removing line 60:

cp -a /lib/udev/devices/* /dev

If the attached patch to the book is implemented without that, I think it will throw an (ignored) error because /lib/udev/devices/ will not exist.

comment:2 by chris@…, 10 years ago

I don't see that line in the script, except in the bootscripts version for LFS 7.5.

comment:3 by bdubbs@…, 10 years ago

Disregard my comment. I looked on an older system.

comment:4 by Bryan Kadzban, 10 years ago

Hmm. I am pretty sure nothing in the kernel fits this description, but aren't there out-of-tree drivers that don't integrate with devtmpfs and thus still require manual device node creation?

For that matter, what creates /dev/pts before devpts is mounted there?

The book doesn't need the static nodes, but I'm thinking it may be good to keep the option as an escape hatch...

comment:5 by bdubbs@…, 10 years ago

Perhaps we should remove /lib/udev/devices from the book for now, but leave it in the xml commented out. Then, if something comes up, we can easily restore it. Right now, I don't know of any reason to leave it in the book.

We do create /dev/pts in the mountfs boot script if it doesn't exist.

comment:6 by bdubbs@…, 10 years ago

Owner: changed from lfs-book@… to bdubbs@…
Status: newassigned

comment:7 by bdubbs@…, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 10626.

Note: See TracTickets for help on using tickets.