Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/devpubd Add some details about the hook scripts.
details: https://anonhg.NetBSD.org/src/rev/f8f95ef9a1cf
branches: trunk
changeset: 782841:f8f95ef9a1cf
user: reed <reed%NetBSD.org@localhost>
date: Thu Nov 22 17:16:30 2012 +0000
description:
Add some details about the hook scripts.
diffstat:
sbin/devpubd/devpubd.8 | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 82a4ea3ebcb2 -r f8f95ef9a1cf sbin/devpubd/devpubd.8
--- a/sbin/devpubd/devpubd.8 Thu Nov 22 16:19:49 2012 +0000
+++ b/sbin/devpubd/devpubd.8 Thu Nov 22 17:16:30 2012 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index