workaround for udev + rtai_fifos + debian

Fathi Boudra fboudra at gmail.com
Tue Jul 4 13:54:45 CEST 2006


just a small workaround until rtai_fifos supports udev/sysfs.
create your static nodes in /lib/udev/devices :

debian:~# ls -al /lib/udev/devices/
total 8
drwxr-xr-x  2 root root     4096 2006-07-04 15:49 .
drwxr-xr-x  3 root root     4096 2006-07-03 18:50 ..
crw-rw-rw-  1 root root  10, 254 2006-07-04 15:49 rtai_shm
crw-rw-rw-  1 root root 150,   0 2006-07-04 15:49 rtf0
crw-rw-rw-  1 root root 150,   1 2006-07-04 15:49 rtf1
crw-rw-rw-  1 root root 150,   2 2006-07-04 15:49 rtf2
crw-rw-rw-  1 root root 150,   3 2006-07-04 15:49 rtf3
crw-rw-rw-  1 root root 150,   4 2006-07-04 15:49 rtf4
crw-rw-rw-  1 root root 150,   5 2006-07-04 15:49 rtf5
crw-rw-rw-  1 root root 150,   6 2006-07-04 15:49 rtf6
crw-rw-rw-  1 root root 150,   7 2006-07-04 15:49 rtf7
crw-rw-rw-  1 root root 150,   8 2006-07-04 15:49 rtf8
crw-rw-rw-  1 root root 150,   9 2006-07-04 15:49 rtf9

udev will copy the nodes in /dev , so you don't need to create a specific rule 
or a script that create the nodes at boot time.

Other distros seems to use /etc/udev/devices for static nodes.

cheers,

Fathi




More information about the Rtai mailing list