how to prevent .ds_store file creation
dont you hate these ds_store files, especially on network drives where windows machines have access to ?
you can disable the creation of ds_store files for network devices.
just enter following command in your terminal:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
also have a look at the original apple document