Dump the cdsymlinks scripts altogether and use the existing tools that we have installed with udev. Use path_id and setup the rules based on that.

On the systems, the users will need to run
/lib/udev/path_id /dev/{cdrom-device}

which would give output like this for SCSI
path_id /block/sr0
ID_PATH=pci-0000:01:0b.0-scsi-0:0:2:0

for IDE
path_id /block/hdc
ID_PATH=pci-0000:00:09.0-ide-1:0

Then we don't need these external scripts.



--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to