Skip to content

Questions regarding synchronization between multiple machines #2432

Closed Answered by xfzv
xfzv asked this question in Q&A
Discussion options

You must be logged in to vote

I was replying to a comment which partially gave me the solution but looks like it was deleted. To whoever commented: thank you! 👍

The following did the trick:

git init --bare /media/Data/path/to/my/local/remote/repo
chezmoi init
chezmoi cd
git remote add origin /media/Data/Software/Linux/dotfiles

I also solved the /media/Data directory not being accessible from chroot using a bind mount. I had heard about bind mount before but never really got my head around it.

From my /etc/fstab:

# Original line
/dev/mapper/Data            /media/Data             ext4    defaults,nofail    0 2

# Line I've just added
/media/Data                 /media/Arch/media/Data  none    bind               0 0

I'…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@twpayne
Comment options

@xfzv
Comment options

Answer selected by xfzv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants