It uses 128 directories at each level. They are based on the first and
second bytes of the digest, but each is anded with 0xfe. So, as you note, a
digest starting with 0x25 goes in the directory 24.
This is in the documentation.
Craig
On Tue, Sep 19, 2017 at 11:44 AM, Gandalf Corvotempesta <
gandalf.corvotempe...@gmail.com> wrote:
> If I understood properly, "cpool" path is made by the hash, so, an hash of
>
> 1a5af4351dde2e018797815ba062d46e01
>
> will result in a path like the following:
>
> /cpool/1a/5a/1a5af4351dde2e018797815ba062d46e01
>
> First level is the first 2 chars, second level is the thirth and fourth
> chars.
>
> So, why the following hash:
>
> 2518c859f504cca9f59cdeaffe17ff2d
>
> is resulting in the following path?
>
> /cpool/24/18/2518c859f504cca9f59cdeaffe17ff2d
>
> What is the "24" at first level ?
>
> I think that I have some other strangenesses:
>
> /cpool/22/84/238510ce90e87ce31702181e7b82508b01
> /cpool/70/ec/70ed19e0558d4ec031e2c03e2365af1d01
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-devel mailing list
> BackupPC-devel@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/