Linux api for device description?

Tom Horsley tom.horsley at
Sat Jul 12 23:11:35 UTC 2008

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 see tools like k3b display that info, but I don't know
off hand the api call or magic /proc/whatever file that
allows me to dig up the description starting at the /dev/

More information about the fedora-list mailing list