On Mon, 2013-10-28 at 00:44 +0000, Myklebust, Trond wrote: > If you have lots of small files, and you really do need to associate them uniquely with the checksum, then try something like: > > ln <filename> /path/to/database/<SHA512 identifier>.<inode number> > > Hard links and inode numbers are also generally invariant under 'mv'. Well that seems like a workaround, IMHO not like a real solution,... since when you remove <filename> the file will stay due to /path/to/database/<SHA512 identifier>.<inode number> . Of course you can run regular scrubbing jobs, which remove and /path/to/database/<SHA512 identifier>.<inode number> for which the link count is one. Anyway as said, IMHO it's a (nice) workaround which I haven't thought of, admittedly, but not a clean solution... and AFAICS it fixes only my personal use case. Cheers, Chris.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature