KDirLister keeps mounted devices in use

Carsten Pfeiffer carpdjih at mailbox.tu-berlin.de
Tue Jan 7 23:30:14 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----

On Tuesday 07 January 2003 23:22, Michael Brade wrote:

> 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
> :/

I thought we discussed this and came to the conclusion that directories in the 
cache should not be dirwatched. Just store the mtime somewhere. When someone 
requests a directory listing from the cache, compare the last mtime with the 
current one and either deliver or renew the listing.

It would be bad if KDirLister kept watching and reloading directories that are 
solely living in the cache and nowhere used.

Or did I forget some detail?

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPhtjCKWgYMJuwmZtAQH99gf8Ds7rSnUazwuJDaWOEb2moWtnXYrQkwkj
feMckN2hWiE5jwQ+6HFeiqFpft+alDTcMgXmnwtziFOI+3AouT4TEcRKNauEHxOF
h5pABCW7r/+zDBBwVBDMtAQNhYEtyGw1cHhbjZEfQVZ3y98/1cPNC6pXvRjf4Iyu
jG179btQb16rbt1/28HF3RF4YvF5ymxznjWR7AAYY8/A6Vp6O60OnSlzyWKaAubm
s+Dcnp3RmGlQAsg4WuRxFjC5GvDge3BjlrD99AhBUy6OyRXQLrDbJQxF65zPIoln
dO29cHd0545GkoC41m9N7LYpCr51Zy2ryMtMLPdOIeo59qbxAk0FWw==
=2LVd
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list