przemoc / metastore

Store and restore metadata from a filesystem.
http://software.przemoc.net/#metastore
GNU General Public License v2.0
174 stars 31 forks source link

Introduce OS-agnostic API internally to support different POSIX systems #62

Open przemoc opened 3 years ago

przemoc commented 3 years ago

We have to avoid preprocessor macros spaghetti, like for various OS approaches regarding extended attributes. We already have NO_XATTR for systems not supporting it, but if they support it differently than Linux, then common OS-agnostic API should be introduced internally that would have OS-specific implementations for different POSIX systems.


Let's not tackle with non-POSIX systems like Windows, as it would require even bigger changes, that may not be really suitable for metastore.

There were some existing efforts to make metastore work on systems different than Linux.