Opened 11 years ago
Closed 11 years ago
#3620 closed task (fixed)
Eudev does not use /lib/udev/devices
| Reported by: | Chris Staub | Owned by: | |
|---|---|---|---|
| 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)
Change History (8)
by , 11 years ago
| Attachment: | eudev.patch added |
|---|
comment:1 by , 11 years ago
comment:2 by , 11 years ago
I don't see that line in the script, except in the bootscripts version for LFS 7.5.
comment:4 by , 11 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 , 11 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 , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |

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.