Ok - definitely a niche feature request here:
I have two laptops I use as mirrored systems, both with external drives. These drives are named the same as their counterparts on the other system, to maintain easy transfer of projects between the two systems.
It hasn’t yet been an issue - but I can foresee the day when I accidentally plug a drive into the wrong system, and Syncthing gets to work on it. If the sync is 100% complete before I do this, I guess no harm will result; but if the sync wasn’t 100% complete, then I presume Bad Things Are Going To Happen.
Can I propose that a unique token is stored inside the .stfolder marker - perhaps a concatenation of the Device ID and Folder ID - so that when Syncthing encounters an expected folder path, it first checks the token is also expected before launching into its sync process for the folder?
Niche, I know - but just trying to avoid shooting myself in the foot in the future…