Class DedupPosixFileSystem

All Implemented Interfaces:
FileSystem, PosixFileSystem

public class DedupPosixFileSystem extends FileSystemWrapper implements PosixFileSystem
De-duplicates data chunks on the fly.
 real name (empty file, small file, or possible full/partially restored large file)
 <A<O<DEDUP>O>A>_# → symbolic linked to real name
 <A<O<DEDUP>O>A>_#_chunk#_md5_size[.gz] → hard linked to index

Renaming a file requires to rename both the file and the one symbolic link to the file.

Files smaller than TODO bytes in length will not be deduped. This is because the overhead of deduping is:

  1. TODO
AO Industries, Inc.