I worked on the Semantic File System (360°-SFS) Project as part of my PhD research. Java FUSE Mirror File System was part of my 360°-SFS implementation.
I searched the web but did not find a Java-based FUSE Mirror File System, so I made it public on GitHub. To the best of my knowledge at the time, this was the first Java-based Mirror File System shared publicly on the web.
It has both read and write functionalities.
Java FUSE Mirror File System was developed using FUSE-JNA (FUSE Java Binding). FUSE-JNA is downloadable from https://github.com/EtiennePerot/fuse-jna.
Open it. Modify the first two variables in the java_mirror_file_system.java file as per your settings:
static File f_mountPoint = new File("./target/mirrorFS"); // set mount point (path to a blank folder)
private final String mirroredFolder = "./target/mirrorFolder"; // set the path of the folder you want to be mirrored.
Import the FUSE-JNA Library and run it. That's it.
/*
* Java Mirror File System
* Copyright (C) 2014 Syed Rahman Mashwani syed.rahman[REMOVE-IT]@uop.edu.pk
*
* This software is released as-is under the GPL license.
*/