> t is difficult to find the hardlinked files.
> Do you know a better way other than "find /branch/fs -xdev -inum XXX"?

Suppose all hard links don't cross a branch
We don't need to search anothers when
case 1) a inode count of original file is 1 (no hard links).
case 2) often program overrides all hadlinks. as gcc-config do
case 3) when we do something with a file whose inode was copied up,
then hard link
             this file to the new node (copy up) and decrement old inode count
After some delay a kernel thread can search a files for a copied up
inode (if its count is not zero) This may be a simple command like
list all files in aufs. If this time was no new hard link ops then all
old inodes may be dropped.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech

Reply via email to