The guide don't show how to add hotplug and coldplug to runlevels. I wrote a patch for it i hope it's right. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 62432 [details, diff] patch for udev-guide
thanks to unsolo and hparker that notice this bug.
seems logical to me
I think that coldplug should be added to the boot runlevel instead of default runlevel.
yes you are right... i forgot about that new patch is here
Created attachment 62439 [details, diff] udev guide patch
Hotplug should not be added to any runlevel, it's dummy initscript that does not do anything useful at all. <snip> pkg_postinst() { ewarn "WARNING: The hotplug init script is now gone (dead and burried.)" ewarn "WARNING: If you want to load modules for hardware that was already" ewarn "WARNING: discovered at boot time, like the old hotplug init script" ewarn "WARNING: did, then emerge the coldplug package, and add coldplug to" ewarn "WARNING: a runlevel, e.g. # rc-update add coldplug boot" echo </snip>
Well so we should remove that from the handbook too ?
(In reply to comment #8) > Well so we should remove that from the handbook too ? Coldplug depends on hotplug anyway, it will be emerged automatically with coldplug; no need to emerge it separately. Hotplug installs required scripts for coldplug, but don't add it to any runlevel, coldplug init script does the job now {if user wants it).
Created attachment 62456 [details, diff] udev guide patch Thanks. This patch contains that fix.
Thanks, committed to CVS. Same for handbook, btw.