Menu

#14 V0.4.5 does not work with Knoppix

open
nobody
None
5
2006-02-25
2006-02-25
No

V0.4.5 contains some code to check whether a device is
a CD-ROM drive. This does not work with Knoppix,
causing no devices at all to be detected. This is
because devices under Knoppix all start with
/UNIONFS/dev not just /dev.

To fix the problem I changed qp_devlist.cpp as follows:

Changed all references of 'startsWith' to 'contains'

Changed "p.section('/',2,2)" to "p.section('/',-1)" on
the line of code at the end that checks if a device is
a CD-ROM drive.

Please email me if you want the updated binary file.

andy@andybev.com

Discussion


Log in to post a comment.