Possible conflict with content addressable schemes #13
Replies: 1 comment 2 replies
-
|
Indeed. I also believe that "hashing-attributes" will make sense (for other use-cases as well). Because what I also tend to forget/overlook is, that considering xattrs as-common-as-filenames, dissolve "the one identifier" to use as filename/path limitation in general 😄 So, in your example What if |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It might be something that can be worked out, but might also be something for docs.
You can imagine content addressable retrieval, e.g.
wget https://aha-server/object/d41d8cd98f00b204e9800998ecf8427e -O myfile.txtAnd you would download one version of this file that can be definitively pointed at through its checksum, enabling de-duplication and so on.
You can imagine metadata display and retrieval:
wget https://aha-server/metadata/d41d8cd98f00b204e9800998ecf8427e{ "xttars": { "k1": "v1", "k2": "v2" } }And in the xattrs implementation multiple files with this checksum might have different representations on disk, with different xattrs. It wouldn't be possible to retrieve this metadata without some other resolution method, e.g. hash =
file_hash+xattrs_hash. So it might just require a consistent library to createxattrs_hash? or something else.if the approach was taken on at all.
Beta Was this translation helpful? Give feedback.
All reactions