[PATCH] kioslave/media/mediamanager misdetecting CD/DVD drives for harddisks

Bernhard Rosenkraenzer bero at arklinux.org
Tue Oct 25 11:22:04 BST 2005

kioslave/media/mediamanager/fstabbackend.cpp's media type detection misdetects 
any CD/DVD drives as harddisks unless their mountpoint is /mnt/cdrom or the 

The patch I've attached fixes this on Linux (and is #ifdef __linux__-ed so it 
won't break elsewhere).

OK to commit? (Yes, I know it's very late for 3.5...)

Also, while looking through the code I noticed it doesn't make a difference 
between CD writers and DVD writers -- we may need a new "media/dvdwriter" 
type (to allow both writing and playing video DVDs), or am I overlooking 
something here?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebase-3.5-mediadetect.patch
Type: text/x-diff
Size: 3021 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051025/90640bdc/attachment.patch>

More information about the kde-core-devel mailing list