DEVPUBD(8) NetBSD System Manager's Manual DEVPUBD(8)
NAME
devpubd -- device publish daemon for automatic device node creation
SYNOPSIS
devpubd [-1f]
DESCRIPTION
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.
SEE ALSO
drvctl(8), MAKEDEV(8)
HISTORY
A devpubd utility appeared in NetBSD 6.0. NetBSD 10.0 February 24, 2020 NetBSD 10.0
Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.