Design flaw in trash spec

David Faure dfaure at trolltech.com
Fri Nov 23 16:25:26 PST 2007


Ouch, http://bugs.kde.org/show_bug.cgi?id=152763 is right.
Because we create one .trashinfo file in addition to the trashed file every time,
there is no way for the user to make room in a full partition by using "move to trash + empty trash".
The "move to trash" operation fails because there is no room to create the .trashinfo file.

Maybe we should have use a single .trashinfo file (per trashdir) for all trashed files in that trashdir,
so that we at least have more hopes of being able to extend it (within the limits of the allocated 
space for it, I guess there's always a bit of padding?) rather than having to create a new file 
for every trashed file? Not sure if that solution would be good enough though.

I know how much it would suck to change the standard now, but it seems that this report
is correct about the design flaw...

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the xdg mailing list