Felix Miata wrote:
It's difficult to tell without the output from 'hwinfo --cdrom' and 'lspci'.
Any particular reason that info in the thread starter wasn't good enough for you?
I don't know which machine it didn't work on.
Any suggestions for something simpler and/or more authoritative?
AFAICT, Davids awk-script does it just fine - it picks the PCI identifier from /dev/disk/by-path and looks up the PCI device.
But it didn't on my 11.0 server running the HDs on software RAID1 and the DVD on a 3rd SATA port. I wouldn't expect the OM device to show up in /dev/disk*, or any script that depends on it, to work.
Hmm, doesn't work on an 11.0 system here either. I'm not very good with awk, but try this instead: hwinfo --cdrom | \ grep /dev/disk/by-path | \ cut -d- -f3 | cut -d: -f2-5 | \ xargs printf "/sbin/lspci | grep %s;" | sh /Per -- Per Jessen, Zürich (8.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org