SkillAgentSearch skills...

Offlinefs

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

Install / Use

/learn @darkdragon-001/Offlinefs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Offline File System (OFS)

State

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

Fork of http://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://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
View on GitHub
GitHub Stars16
CategoryDevelopment
Updated1y ago
Forks4

Languages

C++

Security Score

75/100

Audited on Apr 9, 2024

No findings