Just fired up KDE for the first time on a new machine with an fdescfs(5) file system mounted on /dev/fd, and KDE thinks that it can see a floppy disk there (although it knows that it's an fdescfs mount). Screen grab at http://people.FreeBSD.org/~ceri/floppy.png Versions of KDE are in the screen grab; here is the output of "pkg_info|grep ^k": kde-3.5.2 The "meta-port" for KDE kdeadmin-3.5.2 KDE applications related to system administration kdeartwork-3.5.2 Additional themes, sounds, wallpapers and window styles for kdebase-3.5.2_1 Basic applications for the KDE system kdebase-kompmgr-3.5.2 Utility needed to enable XComposite support in KDE kdegraphics-3.5.1_2 Graphics utilities for the KDE3 integrated X11 desktop kdehier-1.0_9 Utility port which installs a hierarchy of shared KDE direc kdelibs-3.5.2_1 Base set of libraries needed by KDE programs kdepim-3.5.1_1 Personal Information Management tools for KDE kdetoys-3.5.2 Small applications for KDE kdeutils-3.5.2_1 Utilities for the KDE integrated X11 desktop koffice-1.4.2_3,1 Office Suite for KDE3 ksh93-20060214 Official AT&T release of KornShell 93 Fix: Convince the KDE developers that all the world is not Linux. How-To-Repeat: mount_fdescfs fdescfs /dev/fd Start KDE, look at system:/media.
Responsible Changed From-To: freebsd-ports-bugs->kde Over to maintainer
else if ( devNode.find("fd")!=-1 || mountPoint.find("fd")!=-1 || devNode.find("floppy")!=-1 || mountPoint.find("floppy")!=-1 ) { if ( devNode.find("360")!=-1 || devNode.find("1200")!=-1 ) { mimeType = "media/floppy5"; } else { mimeType = "media/floppy"; } label = i18n("Floppy"); } in kdebase/kioslave/media/mediamanager/fstabbackend.cpp looks like the offending code Not quite sure the best way to fix it. "Convince the KDE developers that all the world is not Linux" Thankfully the guy that wrote this code is concerned about cross platform compatibility and already spent time talking to the KDE-FreeBSD team. -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://www.chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org
On Tue, Jun 06, 2006 at 01:33:10PM +0100, Chris Howells wrote: > else if ( devNode.find("fd")!=-1 || mountPoint.find("fd")!=-1 > || devNode.find("floppy")!=-1 || > mountPoint.find("floppy")!=-1 ) > { > if ( devNode.find("360")!=-1 || devNode.find("1200")!=-1 ) > { > mimeType = "media/floppy5"; > } > else > { > mimeType = "media/floppy"; > } > label = i18n("Floppy"); > } > > in kdebase/kioslave/media/mediamanager/fstabbackend.cpp > > looks like the offending code > > Not quite sure the best way to fix it. > > "Convince the KDE developers that all the world is not Linux" > > Thankfully the guy that wrote this code is concerned about cross platform > compatibility and already spent time talking to the KDE-FreeBSD team. Sorry, Chris, I'm aware of, and appreciate, that. I shouldn't have left out the smiley. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere
Since http://bugs.kde.org is currently offline, I'll forego the usual procedure of redirecting problem reporters there and instead will file a KDE bug on this myself as soon as it comes back online. :)
Filed as KDE bug 128754.
State Changed From-To: open->closed Fixed in kdebase-3.5.3_3. Thanks for reporting!