
On 10-11-19 12:59, Juergen Daubert wrote:
On Thu, Nov 18, 2010 at 01:32:29AM +0100, Michal Soltys wrote:
[...]
'settle' between 'subsystems' and 'devices' is probably unnecessary (e.g. opensuse doesn't have one). I think I'll ask on udev list about reference way to coldplug these days. Lots of distros still don't bother with --type, or even --action. Looking at libudev/libudev-enumerate.c it seems both 'subsystems' and 'devices' should be done, but I'm not completely sure.
Well, I think it's not a big loss of time to call settle, though the README [1] doesn't show it in the recommended setup sequence. If you get new informations, please report back.
We've done some tests yesterday and found only a small issue. We have to cp 3 devices manually if tmpfs is used as the filesystem for /dev, without that udevd complains at system start about a missing /dev/null. Not a serious problem, because everything else seems to work fine. That's explained in the README too and not necessary with devtmpfs.
After checking udevd.c it looks that the function responsible for creating standard symlinks and static+module exported nodes is called after /dev/null check. I suppose the order could be changed - I'll do small patch and see what udev people think.