[OpenAFS] AFS and freedesktop.org trash

Ken Dreyer ktdreyer@ktdreyer.com
Wed, 1 Jun 2011 10:51:42 -0600

I was curious if anyone has experience with AFS and the
freedesktop.org "trashcan" spec.


The spec references a "topdir" area where a ".Trash" or a
".Trash-$uid" directory can exist at the top of a filesystem mount.
For AFS, that translates to /afs/.Trash . With -afsdb enabled, this
means doing several DNS lookups for a "Trash" AFS cell.

Using Xfce on Fedora 15, browsing AFS is pretty slow because Thunar
does these DNS lookups almost any time I change directories. I wrote a
patch for Gnome to skip top-level trash detection on AFS, although I
imagine KDE would have similar problems.