jeudi 26 mars 2015

Several hard-links with different metadata in Linux using Ext4


Is it possible for Ext4 file systems (or maybe another one understood by Linux) to assign different metadata (like modification time, owner, access rights) to several hard-links that refer to the same data. (I know that for the size this is impossible, of course).


Rationale: I want to create a simple de-duplicated archive. It can (and often will) happen, that files contain precisely the same data, but the metadata differ. My idea was to create a hard-link per file and then set the metadata accordingly. But changing one hard-link seems to also change the others. (Or maybe there's another solution to my problem?)



Aucun commentaire:

Enregistrer un commentaire