- Stop devfsd with "service devfsd stop"
- Start it manually with "devfsd /dev -t 2"
You will see what is done during startup. Hit Ctrl-S from time to time to interrupt the scrolling and see what it is working on (then Ctrl-Q to continue).
And you will see that the scripts /etc/dynamic/scripts/... are run many many times.
(The reason is in the config file "/etc/devfs/conf.d/dynamic.conf")
One of these scripts is /etc/dynamic/scripts/.part.script.
This script makes a call to a perl script : ### /usr/sbin/drakupdate_fstab ###.
And THIS SCRIPT IS SLOW
(too many invocations of "use..."? slow startup of perl interpreter ?)
Even when you run it with no argument, it takes almost half a second to execute. And this half-second will be repeated many times, because this script is called many times.
So there are three things wrong:
1) There are too many scripts executed during devfsd startup
2) The scripts have a too deep level of sub-calls (scripts that calls scripts that calls scripts)
3) One of them is a slow perl script, executed many times.
