On Tue, Sep 13, 2005 at 12:43:33PM -0700, Dan Nicholson wrote: > > I'm sorry if this has been suggested before and there's a major fault > in it, but the above line only works if you have one cdrom installed. > If you have multiple drives, only the last one gets the symlink. A > very simple fix is to have udev add a number suffix to the symlink. > This is done with the %e variable, i.e.: > > BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", > RESULT="cdrom", NAME="%k", SYMLINK="cdrom%e"
This would be a nice addition and one of the reasons the proposal was put out there; to write a better rules file. Thanks for the input. -- Archaic Want control, education, and security from your operating system? Hardened Linux From Scratch http://www.linuxfromscratch.org/hlfs -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page