Skip to content

The OFS (Offline FileSystem or Ohm FileSystem) is a offline-layer which is (or should be) able to extend every filesystem with offline capabilities.

License

Notifications You must be signed in to change notification settings

darkdragon-001/offlinefs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Offline File System (OFS)

State

Offline File System is still in alpha state and not very stable.

Fork of http:https://offlinefs.sourceforge.net/

Building

Required packages

sudo apt-get install cmake pkg-config g++ libfuse-dev libattr1-dev attr libconfuse-dev libdbus-1-dev

Optional packages for documentation

sudo apt-get install doxygen graphviz texlive-extra-utils

Compilation

mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

Usage

Mount

sudo mount -t ofs fstype:https://server/share /some/mountpoint

Make folders available offline

setfattr -n ofs.offline /path/to/directory

Go offline

setfattr -x ofs.available /mnt

Go online

setfattr -n ofs.available /mnt

Find conflicts

getfattr -n ofs.conflict /mnt
getfattr -n ofs.conflict /mnt/*

Resolve Conflicts

setfattr -n ofs.conflict -v=local /path/to/conflicted/file
setfattr -n ofs.conflict -v=remote /path/to/conflicted/file

About

The OFS (Offline FileSystem or Ohm FileSystem) is a offline-layer which is (or should be) able to extend every filesystem with offline capabilities.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •