From kfm-devel Tue Jan 07 22:22:26 2003 From: Michael Brade Date: Tue, 07 Jan 2003 22:22:26 +0000 To: kfm-devel Subject: Re: KDirLister keeps mounted devices in use X-MARC-Message: https://marc.info/?l=kfm-devel&m=104197826830177 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-02=_kM1G+D9Vw7eqrTJ" --Boundary-02=_kM1G+D9Vw7eqrTJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline 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 use= d, > 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=20 reference in KDirWatch :-( The only solution I can think of is... remove th= at=20 preloading feature!=20 Well ok, seriously. I could make KDirLister not put things like floppy and= =20 cdrom (wich is flawed anyways, who wants to watch a cdrom? :) in KDirWatch= =20 once that dir is in itemsCached. I think it's worth the speed we loose,=20 right? ;) But, how to detect if an url is a floppy, cdrom, Zip or not? And= =20 furthermore, I occasionally mount harddisks temporarily. I can't think of a= =20 solution here... besides removing the "speedy caching" feature altogether :/ =2D-=20 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' =B0--web: http://www.kde.org/people/michaelb.html KDE 3: The Next Generation in Desktop Experience --Boundary-02=_kM1G+D9Vw7eqrTJ Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+G1MkdK2tAWD5bo0RArGiAJsHjmKCX9x199nahjdDoriAM30kRwCgj26E /xpRfJOBUrJiKidsiORDul8= =kv9w -----END PGP SIGNATURE----- --Boundary-02=_kM1G+D9Vw7eqrTJ--