History log of /src/sbin/devpubd/devpubd-run-hooks.in |
Revision | | Date | Author | Comments |
1.4 |
| 05-Aug-2021 |
kre | Expunge bogus (implementation defined / unspecified) uses of $@ in scripts. $@ is unspecified except when used in a place where field splitting can occur (which is never in an assignment), X=$@ (with or without double quotes) is simply wrong.
Use $* instead of $@ in such places, or as here, simply change the way things are done (very very slightly) and DTRT.
|
1.3 |
| 15-Feb-2015 |
jmcneill | 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.
|
1.2 |
| 04-Dec-2011 |
jmcneill | branches: 1.2.18; exit 0 on success
|
1.1 |
| 29-Aug-2011 |
mrg | branches: 1.1.2; add the device publish daemon, written by jmcneill@.
listens on drvctl for new devices and invokes MAKEDEV for them.
missing: - manual page - rc.d script - more testing
but it works well enough to make new disk nodes appear in /dev when netbsd sees them and they're missing. you will need to make sure you have a new /dev/MAKEDEV for this to work properly (postinstall should handle this normally, of course.)
thanks jared!
|
1.1.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.2.18.1 |
| 17-Feb-2015 |
martin | 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.
|