nldev

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

nldev.8 (1351B)


      1 .Dd April 15, 2012 
      2 .Dt NLDEV 8
      3 .Os
      4 .
      5 .Sh NAME
      6 .Nm nldev
      7 .Nd a simple netlink device manager
      8 .
      9 .Sh SYNOPSIS
     10 .Nm
     11 .Bk -words
     12 .Op Fl h
     13 .Op Fl d
     14 .Op Fl b 
     15 .Op Fl k
     16 .Op Fl u
     17 .Op Fl f Ar subsystem
     18 .Op Fl r Ar runpath 
     19 .Ek
     20 .
     21 .Sh DESCRIPTION
     22 .Bd -filled
     23 .Nm
     24 is a simple netlink device manager. It does this by emulating
     25 the behaviour of the hotplug system built into the Linux kernel.
     26 The defaults are meant to fit to the mdev applet included in
     27 busybox.
     28 .Ed
     29 . 
     30 .Sh OPTIONS
     31 .Nm
     32 options and default settings.
     33 .Pp
     34 .Bl -tag -width ".Fl test Ao Ar string Ac"
     35 .
     36 .It Fl b
     37 Run in background.
     38 .
     39 .It Fl d 
     40 Turn on debug messages. This will not work in conjunction with
     41 -b.
     42 .
     43 .It Fl f Ar subsystem
     44 This option will filter for the subsystem key in a netlink message
     45 and compare it to the subsystem string. On success runpath helper
     46 will be run.
     47 .
     48 .It Fl h
     49 Show usage.
     50 .
     51 .It Fl k
     52 Only show netlink messages from the kernel.
     53 .
     54 .Bd -filled
     55 .It Fl u
     56 Only show netlink messages from libudev.
     57 .
     58 .It Fl r Ar runpath
     59 This option specifies the runpath for the helper that is launched
     60 on every received netlink event (default: /bin/mdev).
     61 .El
     62 
     63 If neither subsystem nor runpath is specified, uevents are processed
     64 based on compiled-in config.
     65 .
     66 .Sh AUTHORS
     67 See the LICENSE file for the authors of this software.
     68 .
     69 .Sh LICENSE
     70 .Nm
     71 is released under the MIT/X Consortium License.
     72 .
     73