On Sat, 12 Jul 2008 19:11:35 -0400
Tom Horsley <[EMAIL PROTECTED]> wrote:

> Before I resort to digging up the source code, does anyone
> happen to know how to get from a device name like "/dev/dvd"
> to a description like "Toshiba Model XYZ CDRW"?

I found it! It isn't in /proc, it is in /sys. If I have
a device like /dev/sda, I can look in /sys/block/sda/device/
for the "vendor" and "model" files to get the info I want.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Reply via email to