Cool :) I've not used udev yet. Glad to see it has built in symlink/aliasing. Strange re:rc.local. I always feel like I've failed to find the right answer if I have to use rc.local. Even though it's a perfectly good place to put things it always feels slightly dirty.
For those who would like to know about the udev/devfs situation here is a link to an informative read: http://lwn.net/Articles/65197/
...steve... Jamie Bullock wrote:
Thanks Steve!
It seems like I am using udev! I'd never heard of it before, but it seems quite cool. The problem is solved by replacing:
KERNEL="midi[CD0-9]*", NAME="snd/%k"
with
KERNEL="midi[CD0-9]*", NAME="snd/%k", SYMLINK="midi%e"
in /etc/udev/rules.d/_your_rules_file
I didn't want to go down the rc.local route because that seemed like a workaround rather than a fix.
Jamie
On Tue, 2005-02-15 at 14:18 -0600, Steve Briggs wrote:
You could re-create them at startup by putting them in /etc/rc.local rc.local gets run at startup after all other system scripts. Your links are disapearing because you are using devfs or udev right? so the whole /dev/ directory tree is dynamicaly created in the same way /proc/ is.
The /dev/midiX devices are OSS specific btw not TCL specific I believe.
...steve...