News for hackers. Stuff that matters.
Re:Asynchronous filesystem replication with FUSE and rsync by pmoriarty on Thursday December 11, 2014 @10:51AM (#8735396)
I wonder if this could be used as a replacement for Vagrant's rsync feature.[1]

From Vagrant's documentation:

  Vagrant can use rsync as a mechanism to sync a folder to the
  guest machine. This synced folder type is useful primarily in
  situations where other synced folder mechanisms are not
  available, such as when NFS or VirtualBox shared folders aren't
  available in the guest machine.

  The rsync synced folder does a one-time one-way sync from the
  machine running to the machine being started by Vagrant.
The disadvantage of the above is that it's a one-time, one-way sync. SFS would overcome this limitation, if I'm not mistaken.

[1] http://docs.vagrantup.com/v2/synced-folders/rsync.html

Re:Asynchronous filesystem replication with FUSE and rsync by geerlingguy on Thursday December 11, 2014 @12:55PM (#8736096)
It's one-time right now (though there's an open ticket to make it bidirectional [1]), but you can use `vagrant rsync-auto` to watch for changes and continously sync. I posted an article a few weeks ago highlighting one of the reasons I use rsync rather than NFS shares with Vagrant [2].

Though I would love to see FUSE+rsync (like this article mentions) as a default/standard option in Vagrant!

[1] https://github.com/mitchellh/vagrant/issues/3062

[2] http://www.midwesternmac.com/blogs/jeff-geerling/nfs-rsync-a...

Re:Asynchronous filesystem replication with FUSE and rsync by Lethalman on Thursday December 11, 2014 @11:14AM (#8735531)
Vagrant could run inotify+rsync periodically from both ends. It works for few files. SFS is when doing an rsync of a whole tree is not an option, in case of a big number of files.