| DEVPUBD(8) | System Manager's Manual | DEVPUBD(8) |
devpubd — device
publish daemon for automatic device node creation
devpubd |
[-1f] |
devpubd listens on
drvctl(4) for new devices and
creates their device nodes using
MAKEDEV(8) if they are
missing.
When -f is specified,
devpubd does not go into the background. With the
option -1 it will also exit after the initial setup
of device nodes.
devpubd runs
/libexec/devpubd-run-hooks. This script runs each
script found in /libexec/devpubd-hooks in a lexical
order with two arguments: device-attach or
device-detach and the device file name. The default
installation supplies the 01-makedev script for
creating a device node and the 02-wedgenames script
for creating symlinks to wedge devices under /dev/wedges. Additional scripts
may be added for other dynamic device actions.
A devpubd utility appeared in
NetBSD 6.0.
| February 24, 2020 | NetBSD 11.0 |