Le mardi 25 janvier 2005 à 12:45 +0100, Harald Hoyer a écrit :
ok, this is what I came up with for FC4:
(snip)
This should MAKEDEV the nodes from /etc/sysconfig/makedev.d/*.nodes
# cat /etc/sysconfig/makedev.d/50-udev.nodes | \
> sed -e 's,#.*,,g' | xargs_simple echo
tty1 tty2 tty3 tty4 tty5 tty6 loop0 loop1 loop2 loop3 loop4 loop5 loop6 loop7
lp0 lp1 lp2 lp3 parport0 parport1 parport2 parport3 net/tun ppp console null zero
The file can contain comments with "#". Also symlinks described in
/etc/sysconfig/makedev.d/*.symlinks are created.
Packages can drop their own files in /etc/sysconfig/makedev.d and the
definition of the nodes in /etc/makedev.d/.
Nice.
Are the names fine or should we rename /etc/sysconfig/makedev.d in
s.th. like
/etc/sysconfig/init-makedev.d ??
I prefer /etc/sysconfig/init-makedev.d.