Commit Graph

14 Commits

Author SHA1 Message Date
sevan 9eaf2a2b2a Document the version devpubd first appeared.
Bump date.
2016-09-11 01:38:00 +00:00
mlelstv 43aac176e6 Avoid error message when /dev/wedges doesn't exist yet. 2016-08-15 12:54:40 +00:00
mlelstv 4b8999e0dd safely update existing wedge links 2015-03-01 14:21:17 +00:00
christos 3d6eb1fc0f let's make this compile again. 2015-02-15 21:46:49 +00:00
jmcneill 481b9e731c 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.
2015-02-15 15:56:30 +00:00
dholland cccb31c834 These pass WARNS=5, so don't set WARNS=4 2013-08-11 06:04:38 +00:00
wiz 0ce5dbc6e9 Bump date for previous. 2013-01-12 10:19:01 +00:00
mlelstv a11271cda5 Provide a script for devpubd(8) that creates symlinks for each dk(4)
device under /dev/wedges so that you can access them by name.
2013-01-11 23:49:23 +00:00
reed 3a3bcb7dc5 Add some details about the hook scripts. 2012-11-22 17:16:30 +00:00
jmcneill 104b886e37 exit 0 on success 2011-12-04 13:01:54 +00:00
joerg bd80b77cd9 Use __dead. Save a pointer. 2011-09-16 15:42:56 +00:00
riz b146b6f7a7 Build and install the skeleton manpage for devpubd - it's better than
nothing.
2011-09-06 21:30:12 +00:00
wiz 5febc69036 Add minimal devpubd man page, not hooked into the build yet.
XXX: someone should write drvctl(4)
2011-08-29 14:21:50 +00:00
mrg f385d8f556 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!
2011-08-29 11:38:48 +00:00