Module Name:    src
Committed By:   reed
Date:           Thu Nov 22 17:16:30 UTC 2012

Modified Files:
        src/sbin/devpubd: devpubd.8

Log Message:
Add some details about the hook scripts.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/devpubd/devpubd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/devpubd/devpubd.8
diff -u src/sbin/devpubd/devpubd.8:1.1 src/sbin/devpubd/devpubd.8:1.2
--- src/sbin/devpubd/devpubd.8:1.1	Mon Aug 29 14:21:50 2011
+++ src/sbin/devpubd/devpubd.8	Thu Nov 22 17:16:30 2012
@@ -1,4 +1,4 @@
-.\"	$NetBSD: devpubd.8,v 1.1 2011/08/29 14:21:50 wiz Exp $
+.\"	$NetBSD: devpubd.8,v 1.2 2012/11/22 17:16:30 reed Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 29, 2011
+.Dd November 22, 2012
 .Dt DEVPUBD 8
 .Os
 .Sh NAME
@@ -49,6 +49,21 @@ When
 is specified,
 .Nm
 does not go into the background.
+.Pp
+.Nm
+runs
+.Pa /libexec/devpubd-run-hooks .
+This script runs each script found in
+.Pa /libexec/devpubd-hooks
+in a lexical order with two arguments:
+.Ar device-attach
+or
+.Ar device-detach
+and the device file name.
+The default installation supplies the
+.Pa 01-makedev
+script for creating a device node.
+Additional scripts may be added for other dynamic device actions.
 .Sh SEE ALSO
 .Xr drvctl 8 ,
 .Xr MAKEDEV 8

Reply via email to