Konqueror delete unification

Aaron J. Seigo aseigo at olympusproject.org
Thu Jul 17 01:08:46 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 16 July 2003 07:44, Jos van den Oever wrote:
> On Wednesday 16 July 2003 14:21, David Faure wrote:
> > But in addition to the .trash idea (independently from where we move the
> > files), metadata info file means lots of features possible, and no
> > conflicting filenames.
>
> Yep. But where to store the metadata? I'd save the per-file metadata beside
> the file and keep the list of trash folder centralised. This is convenient
> for removable media.

if each "type" of trash (fs, kmail, bookmarks, menu items, etc) were kept in a 
subdir of the trash directory, you could keep the metadata in a single file 
at the same level of the subdirs... $TRASHDIR/fs.metadata and $TRASHDIR/fs/, 
for instance...

> We still keep the problem of knowing where trash folders are on removable
> media. 

perhaps kio_devices it would be possible to do this? (assuming it works well 
=)

> Whenever trash:// is visited, all newly mounted mounts must be 
> scanned with an algorithm, e.g. look for '.trash_username' in the first dir
> and look for it in all dirs whose parent doesn't have this directory. So,
> if there's a .trash_username in the first dir, one can stop scanning, but
> on for example a large /home-like directory, the scan can take a while.

for this, and other reasons, it may make sense to have a daemon around to 
manage it all....

i'd also not be too worried about the partitions issue in the first stages of 
development. the first step is to make a kio_trash that can handle a single 
dir, then one that can handle multiple dirs and merge the contents as 
appropriate, then one that can move to taking that and making it partition / 
mount aware...

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE: The 'K' is for 'kick ass'
http://www.kde.org       http://promo.kde.org/3.1/feature_guide.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/FekP1rcusafx20MRAvl/AJ0a53c6N169eVh008aFVkPB2+PjSQCgqFr0
C0n+hAL6XwtOdjIPIUeU1Og=
=WAMx
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list