On Wednesday 06 April 2016, Xen wrote:
Now that we are on this subject anyway,
I want to know if any of you have experience or thoughts on how to combine your /home with the /home of a central server in your network such as a NAS.
We are running /home via NFS for our desktop machines but the desktops have usually all the same arch and Linux distro. In our case we wouldn't have much problems if we would run different distros because most users do not use bloated desktop managers but unproblematic ones like i3, e16 or fluxbox. Our users know that they should link their own installed binaries statically to survive distro upgrades. To sync /home between laptops and desktops you may look at unison. https://www.cis.upenn.edu/~bcpierce/unison/ It's like a config file based rsync in both direction plus conflict resolving. Try to have only small exclude lists which are easy to maintain. BTW this unison setup solves the backup problem for the laptops. You can invoke the unison run manually whenever you find a fast WiFi with ssh access to your NAS /home.
Currently I just have 1 computer running Linux that I use as a desktop.
I find the following issues in my current life:
- it is troublesome to maintain the same (user-crafted) scripts on every machine I end up using (I would possibly need to use Git and then symlink to it or something)
- same is true for .bashrc and .vimrc
Regardless of the way how you sync /home it's IMO a good idea to have the most important dot files in a git repo. Maybe different branches for different distro/OS if necessary. But one should try to keep the differences as small as possible. Such git repo is always handy if you get a login for another machine. cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org