Class DedupPosixFileSystem

java.lang.Object
com.aoapps.io.filesystems.FileSystemWrapper
com.aoapps.io.filesystems.posix.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
Author:
AO Industries, Inc.