A Standard for Thumbnailers

Stanislav Brabec sbrabec at suse.cz
Thu Jan 11 04:59:08 PST 2007


Erlend Davidson wrote:

> Well, if we want to store thumbnails local to each individual mount  
> (as the parallel discussion on this list is suggesting, for security)  
> then extended attributes would definitely be out - camera flash cards  
> all use the FAT filesystem.

Then also dotted directories are out. They need upgrade file system to
VFAT.

> I don't even have extended attributes support in my kernel - I don't  
> know how common it is.

The standard talks about local thumbnails and user global cache.


I can imagine, that local thumbnails can work in following order:

0. Try to embed thumbnail into the file, which supports it, if user
   explicitly wants it.

1. Try to use xattr or resources, if file system supports it and it
   allows large enough data (may fail often)

2. Try dotted local directory (may fail on FAT)

3. Try another specified directory (may fail on read only)

4. Fall back to global user cache in ~/.thumbnails

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec at suse.cz
Lihovarská 1060/12                            tel: +420 284 028 966
190 00 Praha 9                                fax: +420 284 028 951
Czech Republic                                http://www.suse.cz/




More information about the xdg mailing list