Re: Problem with sync on an ARM Mac
"Dale R. Worley" <[email protected]> Wed, 08 May 2024 13:47:37 -0400
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
Greg Michael <[email protected]> writes: > Maybe on the first run of unison, the current hostname (perhaps editable > before saving) could be written to a file 'unisonlocalhostname' together > with the other archive files, and therafter taken from there. Should be as > stable as the archive. I think that could easily cause more trouble than it solves. Because if one then later deliberately changes the name of the host, the recorded name doesn't change, which might be easy to forget, it invalidates the principle "Unison records things based on the host name". Also, if there are multiple users, each user has a separate ~/.unison/originalhostname file with possibly different contents, and also it's not clear the best way to make this operate symmetrically between the host running Unison and the remote host. If you want to pursue this concept, I'd suggest recording not the current hostname but a UUID and calling it a "host identity" or better a "sync identity" because they'd be different for different users (or really, different .unison directories). Dale To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].