Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2d9b7251e9
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (33 sloc) 1.579 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

preserfs
========

Preserfs is a FUSE filesystem that preserves metadata on top of
a less capable filesystem.

Development is still at the very, very early beginnings.


Rationale
---------

I'm using an online service for data storage and being privacy-
conscious I encrypt the personal files I put there. Specifically,
I'm using eCryptfs for the encryption which has the side-effect
of creating files with very long names.

Unfortunately, the service I'm using imposes restrictions on
filename and path lengths that are far too narrow for my files.
On top of that, all the metadata, i.e., owner, group, permissions,
modification time, are lost.

Preserfs is intended to be used in two ways or directions.

In the reverse direction, it maps a fully-capable filesystem to
a restricted view with shortened names and a per-directory, virtual
file (.preserfs-metadata) containing the unspoiled metadata for
each file in that directory. This view is meant to be suitable for
backups to a service that may not keep metadata intact.

In the forward direction, preserfs creates an enhanced view with
original names and metadata on top of a (copy of a) restricted view.


Roadmap
-------

0. Get to grips with C++ (again).
1. Metadata: extract, save, restore, apply.
2. Directory tree: map filenames and paths in both directions, lookup metadata.
3. Reverse direction FUSE read-only filesystem.
4. Forward direction FUSE read-only filesystem.
5. Limit reified directory tree size (LRU caching).
6. Multithreading.
7. Algorithms for filename shortening: MD5, SHA1, short name + number.
Something went wrong with that request. Please try again.