[mythtv] GetCDROMBlockDevices() fubar?
nigel at ind.tansu.com.au
Mon Apr 2 04:54:54 UTC 2007
Debugging a MythMediaMonitor problem, found that the list of CDROMs
on a multi-CDROM machine was only getting one of the two drives.
if (line.startsWith("drive name:"))
QString s = line.section('\t', 2, 2);
seems to only append a single drive - the second field.
Mine seem to contain one line of multiple drives:
% egrep 'drive name:' /proc/sys/dev/cdrom/info
drive name: hdd hdc
I'm not going mad, right?
Does everyone else with multiple drives have the same problem?
Or do your /proc/sys/dev/cdrom/info contain multiple lines,
one for each drive?
Nigel Pearson, nigel at ind.tansu.com.au| I've been talking to-
Telstra Net. Eng., Sydney, Australia | the ship's computer.
Office: 9202 3900 Fax: 9261 3912 | ... It hates me!
Mobile: 0408 664435 Home: 9792 6998 | Marvin
More information about the mythtv-dev