News for hackers. Stuff that matters.
Re:TMSU is a tool for tagging your files by mplewis on Friday December 12, 2014 @03:27AM (#8739050)
You may want to check out the repair command. It seems to show that TMSU keeps track of file locations on disk. If you move a file, it can find it if it hasn't been modified. If you move and modify a file, it can't find it and will mark it missing.

https://github.com/oniony/TMSU/blob/master/src/tmsu/cli/repa...

Re:TMSU is a tool for tagging your files by joosters on Friday December 12, 2014 @03:31AM (#8739062)
Ah, I see, thanks. The FAQ also explains some of the strengths and weaknesses of this approach:

https://github.com/oniony/TMSU/wiki/FAQ

Re:TMSU is a tool for tagging your files by ars on Friday December 12, 2014 @03:27AM (#8739054)
I wonder why he doesn't use EA's where available (or does he?)
Re:TMSU is a tool for tagging your files by albertzeyer on Friday December 12, 2014 @04:02AM (#8739139)
What is EA?
Re:TMSU is a tool for tagging your files by Someone on Friday December 12, 2014 @04:46AM (#8739265)
Probably Extended Attributes (http://en.m.wikipedia.org/wiki/Extended_file_attributes)

They stick better with files, as long as your tools know about them and handle them fine. Weakness is that they can (will) get lost in tools that do not. There are many of them: zip-unzip, tar-untar, http requests, ftp, etc.

Re:TMSU is a tool for tagging your files by dingaling on Friday December 12, 2014 @08:19AM (#8739805)
> Weakness is that they can (will) get lost in tools that do not.

Including, frustratingly, Linux's NFS implementation. A WONTFIX apparently.

Re:TMSU is a tool for tagging your files by albertzeyer on Friday December 12, 2014 @05:37AM (#8739398)
Ah. Also, depending on the FS, they are probably too limited, e.g. in size (only 4kb for ext2/3/4).