KDirLister keeps mounted devices in use

Michael Brade brade at kde.org
Tue Jan 7 22:22:26 GMT 2003


Hi,

>  try this: Put a floppy or CDROM device icon if you don't already have one
> (not the devices:// ones). Mount the device and start Konqy by executing
> it. Click on the Home toolbar icon in Konqy. Try to unmount the device by
> the icon popup menu option -> it will complain about the device being used,
> it though it is not (from the user's point of view).
Oh holy shit... yes, you're right, it's of course because of keeping a 
reference in KDirWatch :-( The only solution I can think of is... remove that 
preloading feature! 

Well ok, seriously. I could make KDirLister not put things like floppy and 
cdrom (wich is flawed anyways, who wants to watch a cdrom? :) in KDirWatch 
once that dir is in itemsCached. I think it's worth the speed we loose, 
right? ;) But, how to detect if an url is a floppy, cdrom, Zip or not? And 
furthermore, I occasionally mount harddisks temporarily. I can't think of a 
solution here... besides removing the "speedy caching" feature altogether :/

-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030107/44154aee/attachment.sig>


More information about the kfm-devel mailing list