Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#25954 - [udev] stop creating device nodes on the root filesystem
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Saturday, 10 September 2011, 17:22 GMT
Last edited by Tom Gundersen (tomegun) - Monday, 12 September 2011, 12:37 GMT
Opened by Matthias Dienstbier (fs4000) - Saturday, 10 September 2011, 17:22 GMT
Last edited by Tom Gundersen (tomegun) - Monday, 12 September 2011, 12:37 GMT
|
DetailsUdev currently creates /dev/{console,null,zero} on the root filesystem in its install script. This was needed only before this commit in mkinitcpio: http://projects.archlinux.org/mkinitcpio.git/commit/?id=3bb6c683094490e88883b20b5c6cffc17df165e7
If there are no other reasons to keep them, we could remove these useless device nodes. |
This task depends upon
Closed by Tom Gundersen (tomegun)
Monday, 12 September 2011, 12:37 GMT
Reason for closing: Implemented
Monday, 12 September 2011, 12:37 GMT
Reason for closing: Implemented
- booting without initramfs
- using dracut instead of mkinitcpio (or any other software)
But all these problems should be solved when /dev gets mounted by rc.sysinit before doing anything else (even before sourcing rc.conf and functions). If devtmpfs isn't available /dev/{console,null,zero} must also be created by rc.sysinit.
Now I'm not sure if that idea was really so good. Does anyone know how this is solved in other distributions?
"- Added a post_install so that /dev/{console,null,zero} are created again, so we don't break FTP installations when we move to core"
This was done three years ago by Thomas. I don't know exactly why it was needed, but my guess is that it is not any longer.
@brain0: Is it still relevant?
Try to boot a kernel that does not automount devtmpfs and without initramfs. This kernel will panic because it cannot open the console for init. In initramfs, /dev/console is created if it is not present.
1) Installations from the installer will work (devtmpfs is always mounted in our default setup).
2) Old installations won't break.
3) If anyone must really have a kernel with no initramfs and no devtmpfs-automounting (unlikely, and likely to break for other reasons), creating the nodes in the real /dev is easy.