bugs.debian.org/cgi-bin/bugreport.cgi?bug=722604
Le rapport de bug émane d’une personne qui a compilé son noyau sans l’option DEVTMPFS=y et, semble-t-il, sans initramfs. La mise à jour d’udev faisant appel à devtmpfs, elle a remarqué un défaut.
config DEVTMPFS
bool "Maintain a devtmpfs filesystem to mount at /dev"
depends on HOTPLUG
help
This creates a tmpfs/ramfs filesystem instance early at bootup.
In this filesystem, the kernel driver core maintains device
nodes with their default names and permissions for all
registered devices with an assigned major/minor number.
Userspace can modify the filesystem content as needed, add
symlinks, and apply needed permissions.
It provides a fully functional /dev directory, where usually
udev runs on top, managing permissions and adding meaningful
symlinks.
In very limited environments, it may provide a sufficient
functional /dev without any further help. It also allows simple
rescue systems, and reliably handles dynamic major/minor numbers.
Notice: if CONFIG_TMPFS isn't enabled, the simpler ramfs
file system will be used instead.
Sur la foi de
«if CONFIG_TMPFS isn’t enabled, the simpler ramfs file system will be used instead »
j’imagine qu’il y a eu confusion tmpfs/devtmpfs et ramfs.
Les noyaux de la distribution debian comportent l’option DEVTMPFS et ne présentent pas le bug qu’a rencontré le rapporteur.
Nous pouvons donc mettre à jour udev sans en être affectés si nous utilisons les noyaux de la distribution ou les noyaux compilés maison qui comportent l’option DEVTMPFS=y.