3.3. Creating needed device files

If you are not using devfs file system, you'll have to create several device files needed for the new input sub-system in the backstreet ruby kernel:

cd /dev
mkdir input.old
mv mouse js? input.old
mkdir input
cd input
mknod js0 c 13 0
mknod js1 c 13 1
mknod js2 c 13 2
mknod js3 c 13 3
mknod mouse0 c 13 32
mknod mouse1 c 13 33
mknod mouse2 c 13 34
mknod mouse3 c 13 35
mknod mice c 13 63
mknod event0 c 13 64
mknod event1 c 13 65
mknod event2 c 13 66
mknod event3 c 13 67
cd ..
ln -s input/js0 js0
ln -s input/js1 js1
ln -s input/mice mouse

In case you use devfs, all required devices will be created automatically by devfs.

Distribution which use devfs are for example Mandrake, ...( are there any others?). Distribution which do not use devfs are RedHat, SuSE, ?Debian?, ...

You can check whether devfs is used by issuing the following commands

to check whether support for devfs is enabled in your kernel:

cat /proc/filesystems | grep devfs

to check whether devfs is used/ mounted:

mount | grep devfs

if you get empty string this means that devfs is not used, in case you get something like the following output devfs is activated:

[root@mc contrib]# cat /proc/filesystems | grep devfs

nodev devfs

nodev usbdevfs

[root@mc contrib]# mount | grep devfs

none on /proc/bus/usb type usbdevfs (rw)

none on /dev type devfs (rw)

[root@mc contrib]#