Module Name: src Committed By: martin Date: Tue Feb 17 14:45:31 UTC 2015
Modified Files: src/sbin/devpubd [netbsd-7]: Makefile devpubd-run-hooks.in devpubd.c src/sbin/devpubd/hooks [netbsd-7]: 01-makedev 02-wedgenames Log Message: Pull up following revision(s) (requested by jmcneill in ticket #525): sbin/devpubd/hooks/01-makedev: revision 1.2 sbin/devpubd/devpubd-run-hooks.in: revision 1.3 sbin/devpubd/Makefile: revision 1.5 sbin/devpubd/hooks/02-wedgenames: revision 1.2 sbin/devpubd/devpubd.c: revision 1.3 sbin/devpubd/devpubd.c: revision 1.4 At startup, instead of doing run-hooks for each device, call run-hooks once with a list of all found devices. This lets us batch calls to MAKEDEV which results in a noticeable improvement in Raspberry Pi boot time. Run the initial device enumeration hooks before detaching from the foreground, ensuring that any required devices have been created before the rc.d script exits. let's make this compile again. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.4.1 src/sbin/devpubd/Makefile cvs rdiff -u -r1.2 -r1.2.18.1 src/sbin/devpubd/devpubd-run-hooks.in cvs rdiff -u -r1.2 -r1.2.20.1 src/sbin/devpubd/devpubd.c cvs rdiff -u -r1.1 -r1.1.20.1 src/sbin/devpubd/hooks/01-makedev cvs rdiff -u -r1.1 -r1.1.12.1 src/sbin/devpubd/hooks/02-wedgenames Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.