nldev

NetLink DEVice manager; a lightweight netlink frontend for mdev.
git clone git://r-36.net/nldev
Log | Files | Refs | LICENSE

commit 799b901987a63103b416f844c7e1bc129f158e0f
parent d8ead95c3e98283d6d4a1c171911e91240be95cb
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed,  2 May 2012 21:36:51 +0200

Moving nldev to man section 8.

Diffstat:
Makefile | 14+++++++-------
nldev.1 | 69---------------------------------------------------------------------
nldev.8 | 69+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 76 insertions(+), 76 deletions(-)

diff --git a/Makefile b/Makefile @@ -32,7 +32,7 @@ dist: clean @echo creating dist tarball @mkdir -p ${NAME}-${VERSION} @cp -R LICENSE Makefile README.md FIXES.md config.mk \ - ${SRC} ${NAME}.1 *.h ${NAME}-${VERSION} + ${SRC} ${NAME}.8 *.h ${NAME}-${VERSION} @tar -cf ${NAME}-${VERSION}.tar ${NAME}-${VERSION} @gzip ${NAME}-${VERSION}.tar @rm -rf ${NAME}-${VERSION} @@ -44,17 +44,17 @@ install: all @cp -f run_${NAME} ${DESTDIR}${PREFIX}/bin @cp -f nltrigger ${DESTDIR}${PREFIX}/bin @chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME} - @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 - @mkdir -p ${DESTDIR}${MANPREFIX}/man1 - @cp -f ${NAME}.1 ${DESTDIR}${MANPREFIX}/man1 - @chmod 644 ${DESTDIR}${MANPREFIX}/man1/${NAME}.1 + @echo installing manual page to ${DESTDIR}${MANPREFIX}/man8 + @mkdir -p ${DESTDIR}${MANPREFIX}/man8 + @cp -f ${NAME}.8 ${DESTDIR}${MANPREFIX}/man8 + @chmod 644 ${DESTDIR}${MANPREFIX}/man8/${NAME}.8 uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin @rm -f ${DESTDIR}${PREFIX}/bin/${NAME} @rm -f ${DESTDIR}${PREFIX}/bin/run_${NAME} @rm -f ${DESTDIR}${PREFIX}/bin/nltrigger - @echo removing manual page from ${DESTDIR}${PREFIX}/man1 - @rm -f ${DESTDIR}${MANPREFIX}/man1/${NAME}.1 + @echo removing manual page from ${DESTDIR}${PREFIX}/man8 + @rm -f ${DESTDIR}${MANPREFIX}/man8/${NAME}.8 .PHONY: all options clean dist install uninstall diff --git a/nldev.1 b/nldev.1 @@ -1,69 +0,0 @@ -.Dd April 15, 2012 -.Dt NLDEV 1 -.Os -. -.Sh NAME -.Nm nldev -.Nd a simple netlink device manager -. -.Sh SYNOPSIS -.Nm -.Bk -words -.Op Fl h -.Op Fl d -.Op Fl b -.Op Fl k -.Op Fl u -.Op Fl f Ar subsystem -.Op Fl r Ar runpath -.Ek -. -.Sh DESCRIPTION -.Bd -filled -.Nm -is a simple netlink device manager. It does this by emulating -the behaviour of the hotplug system built into the Linux kernel. -The defaults are meant to fit to the mdev applet included in -busybox. -.Ed -. -.Sh OPTIONS -.Nm -options and default settings. -.Pp -.Bl -tag -width ".Fl test Ao Ar string Ac" -. -.It Fl b -Run in background. -. -.It Fl d -Turn on debug messages. This will not work in conjunction with --b. -. -.It Fl f Ar subsystem -This option will filter for the subsystem key in a netlink message -and compare it to the subsystem string. -. -.It Fl h -Show usage. -. -.It Fl k -Only show netlink messages from the kernel. -. -.Bd -filled -.It Fl u -Only show netlink messages from libudev. -. -.It Fl r Ar runpath -This option specifies the runpath for the helper that is launched -on every received netlink event (default: /bin/mdev). -.El -. -.Sh AUTHORS -See LICENSE file for authors in the distribution. -. -.Sh LICENSE -.Nm -is released under the MIT/X Consortium License. -. - diff --git a/nldev.8 b/nldev.8 @@ -0,0 +1,69 @@ +.Dd April 15, 2012 +.Dt NLDEV 8 +.Os +. +.Sh NAME +.Nm nldev +.Nd a simple netlink device manager +. +.Sh SYNOPSIS +.Nm +.Bk -words +.Op Fl h +.Op Fl d +.Op Fl b +.Op Fl k +.Op Fl u +.Op Fl f Ar subsystem +.Op Fl r Ar runpath +.Ek +. +.Sh DESCRIPTION +.Bd -filled +.Nm +is a simple netlink device manager. It does this by emulating +the behaviour of the hotplug system built into the Linux kernel. +The defaults are meant to fit to the mdev applet included in +busybox. +.Ed +. +.Sh OPTIONS +.Nm +options and default settings. +.Pp +.Bl -tag -width ".Fl test Ao Ar string Ac" +. +.It Fl b +Run in background. +. +.It Fl d +Turn on debug messages. This will not work in conjunction with +-b. +. +.It Fl f Ar subsystem +This option will filter for the subsystem key in a netlink message +and compare it to the subsystem string. +. +.It Fl h +Show usage. +. +.It Fl k +Only show netlink messages from the kernel. +. +.Bd -filled +.It Fl u +Only show netlink messages from libudev. +. +.It Fl r Ar runpath +This option specifies the runpath for the helper that is launched +on every received netlink event (default: /bin/mdev). +.El +. +.Sh AUTHORS +See LICENSE file for authors in the distribution. +. +.Sh LICENSE +.Nm +is released under the MIT/X Consortium License. +. +