Unfortunately I don't understant what do you want to know.
     Generally, the modified (and copied-up) hardlinked files will be
     restored by the auplink utility.

   I'm afraid auplink does not help me, in this case.

   I am mounting my (read-only) repository, and use aufs to make it "writable",
   so I can perform changes on it. After all changes are done, I am using the
   files collected in the writable branch of aufs to transform them into a
   change set. Which can afterwards be applied to the central repository. All
   this "analysis" has nothing to do with aufs anymore.

   Anyway, for my change set to be correct, I need to know, if a modified file
   was just edited or overwritten by another file. Because in the latter case
   the inode of the file changes and I need to keep track of this.

   Take  for example the following case in the aufs volume (inode number,
   filename):

   12 - file1

   13 - file2

   14 - file3

   If I edit file1, it will be copied up to the writable branch and the change
   will be applied there. Fine.

   If I would perform `mv file3 file1`, file1 will also be copied up but the
   aufs volume will look like:

   14 - file1

   13 - file2

   The inode of file1 has changed, because the file was overwritten by file3.
   If I would delete file1 in the writable branch now, the aufs volume again
   would look like this:

   12 - file1

   13 - file2

   The inode number changed back, mapping file1 again to the original file
   residing in the read-only branch. Is it somehow possible to find out all
   inode  numbers associated with one file name in the aufs union volume?
   Because there has to be more than one inode number associated internally
   with file1. Otherwise it would not be possible to change it back to the
   original one after deleting the copied up file from the writable branch.

   I would need to find out exactly that.

   Cheers and thanks for your time,

   René Meusel
------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev

Reply via email to