Up to [cvs.NetBSD.org] / src / sbin / devpubd
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-7-0-2-RELEASE
Revision 1.4.4.1 / (download) - annotate - [select for diffs], Tue Feb 17 14:45:31 2015 UTC (9 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
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.