On 15 August 2018 at 13:57, Wout Mertens <wout.mert...@gmail.com> wrote:

> For the interested:
>
> In NixOS (http://nixos.org), a very interesting Linux distribution, the
> entire OS (libraries, binaries, shared files, up to and including
> configuration files) is composed out of "build products" that are addressed
> by "input hash".
>
> The input hash is calculated on everything that is used to generate the
> build product from scratch. For a text file, this is simply the content
> hash of the text. For a binary, it is the input hash of the compiler,
> libraries, build scripts, and all the build flags, plus the content hash of
> the source, all hashed together.
>
> A build product (whether file or directory) is stored in /nix/store/<input
> hash>-human-readable-name.
>

It's not clear whether you're involved in NixOS development or just a user,
but you might be interested in ipfs:

https://ipfs.io/

It's marketed as an http competitor but if I understand correctly it's
basically a distributed hash-addressed data store. They provide fairly
regular file-system semantics on top of that I believe, but probably NixOS
would be happy with a simpler VFS which exposes the hashes themselves. See
also venti, because how can you talk about hash-addressed storage without a
reference to plan 9 ;)

-Rowan

>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to