Re: udev rule questions

2005-03-20 Thread Andrew Benton
Jeremy Utley wrote: I've always done the dvd symlink like this: KERNEL=hdc, NAME=hdc, SYMLINK=dvd. That should definitely do it for you, always has for me. But, but (just to play devils advocate!) what if someone has a DVD which isn't hdc? Though I should say, that rule does work for me too.

Re: udev rule questions

2005-03-20 Thread DJ Lucas
Jeremy Utley wrote: DJ Lucas wrote: Okay, I need a bit of udev help. I want to write a rule to create a dvd synlink. I've always done the dvd symlink like this: KERNEL=hdc, NAME=hdc, SYMLINK=dvd. That should definately do it for you, always has for me. -J- Yes, should work

Re: udev rule questions (udev dvd dvdrw cdrom cdrw)

2005-03-19 Thread DJ Lucas
DJ Lucas wrote: Jim Gifford wrote: DJ, in udev there is a program called cdsymlinks, that can do this already. BLFS is going to need a udev section to add this in from the udev-xxx/extras directory along with it's configuration file. That's perfect! Thanks! Well, almost. I'd think

udev rule questions

2005-03-18 Thread DJ Lucas
Okay, I need a bit of udev help. I want to write a rule to create a dvd synlink. The /proc/ide/hdb/model file contains the string DVD with some other text. I got around that using grep 'DVD' in a PROGRAM field set. This is fine for *my* setup, but I want this thing to be generic for optical

Re: udev rule questions

2005-03-18 Thread Jim Gifford
DJ Lucas wrote: Okay, I need a bit of udev help. I want to write a rule to create a dvd synlink. The /proc/ide/hdb/model file contains the string DVD with some other text. I got around that using grep 'DVD' in a PROGRAM field set. This is fine for *my* setup, but I want this thing to be