Manual browser: devpubd(8)

DEVPUBD(8) System Manager's Manual DEVPUBD(8)


devpubddevice publish daemon for automatic device node creation


devpubd [-f]


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.

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.

January 12, 2013 NetBSD 7.0