News for hackers. Stuff that matters.
Re:Johnny Decimal: A System to Organize Projects by notfed on Thursday September 14, 2023 @11:32AM (#37510331)
Got me wondering how it tracks file moves. From the FAQ:

> TMSU not automatically detect file moves and renames

I dunno if we can call it a tagged filesystem with this limitation. (Why not store tags, or at least a GUID, in file metadata?)

Re:Johnny Decimal: A System to Organize Projects by istjohn on Thursday September 14, 2023 @01:29PM (#37512032)
It does store file hashes. It has a repair command that will use file hashes to find moved files. I don't know how well it works.
Re:Johnny Decimal: A System to Organize Projects by dotancohen on Thursday September 14, 2023 @02:32PM (#37512867)
This seems a serious limitation. Bash is my file manager - ls and cd. I would not give that up for any tool no matter how convenient.

But presumably there is some API or ABI to monitor, or some signal emitted, when files are moved, added, updated, or deleted. However iwaitnotify works, could that be incorporated (even theoretically) into TMSU?

Re:Johnny Decimal: A System to Organize Projects by Cyphase on Thursday September 14, 2023 @05:00PM (#37514772)
https://github.com/oniony/TMSU/wiki/FAQ#why-does-tmsu-not-au...

There are a couple very barebones wrappers around mv and rm, though they could be better (pass through arguments, etc.).

https://github.com/oniony/TMSU/wiki/Tricks-and-Tips#filesyst...