Differences

This shows you the differences between two versions of the page.

Link to this comparison view

nslu:thumnailcache [2009/11/27 17:54] (current)
Line 1: Line 1:
 +====== Thumbnail cache and the NSLU ======
  
 +Why is it when I access my NSLU with a directory full of images it takes forever to recompute the thumbnails? Aren't these suppose to be cached in the Thumbs.db file?
 +
 +It would seem SAMBA doesn'​t always play nicely.
 +http://​gavinbenda.com.au/​2007/​10/​16/​windows-xp-thumbs-db-on-samba-shares/​
 +
 +This translates to having to perform the following on my SLUG.
 +<​code>​
 +-bash-3.2# pwd
 +/etc/samba
 +-bash-3.2# cat user_smb.conf
 +# Allow thumb.db to be created
 +nt acl support = no
 +-bash-3.2#
 +</​code>​
 +So now that the Thumbs.db files are being created I really don't care to see them.
 +This requires a modification to the /​etc/​samba/​smb.conf file the crucial line is the hide files directive.
 +<​code>​
 +[DISK 2]
 +valid users=@"​administrators",​@"​everyone"​
 +comment=For everyone
 +path=/​share/​flash/​data/​public/​
 +writable = yes
 +write list=@"​administrators",​@"​everyone"​
 +hide files = /​Desktop.ini/​desktop.ini/​RECYCLER/​Thumbs.db/​
 +</​code>​
 +
 +{{tag>​nslu2}}