aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: ed34d1b72e14b875cc76fdf9e521d65df379397c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# NetLink DEVice manager

## Installation

	# edit config.mk according to your needs
	% make
	% make PREFIX=/ MANPREFIX=/usr/share/man install

## nldev + mdev 

For getting nldev and mdev to work use the following instructions.

	% cd /tmp
	% git clone git://busybox.net/busybox.git
	% cd busybox
	% make
	% cp busybox /bin
	% cd /bin
	% ln -s busybox mdev

Now copy over all the required files.

	% cd $nldevdir
	% mkdir -p /lib/mdev
	% mkdir -p /etc
	% cp mdev/etc/mdev.conf /etc
	% cp mdev/lib/* /lib/mdev 

In you init scripts you will need to trigger:

	% run_nldev &
	% nltrigger all

### CAUTION

Because of the asynchronous initialisation of every device that
needs some firmware or some that just take some time to appear
in the kernel, don't assume interfaces to be there after startup.
Always add some step to check for the devices to be there or do
them per service.

## udev replacement

Many application directly depend on libudev and so need the
overengineered backends of udev to work. Most of this (like X11)
can be avoided by having symlinks to static devices and leaving
all the automatism in one place instead of many.

Scripts that call the udev tools directly will need to be patched,
like laptop-mode-utils.