Lou Gosselin:
> d, e. Are you sure? I tried "lsof -FDi" and it seems to show the same 
> inode and device number as through "stat" on a mounted ext2/3

I was wrong again, confirmed that lsof prints the correct inum even it
is removed.
But the conlusion won't change much.

(a scenario you have written)
- mount -o br:/a none /u
- invoke u/sh, which is a/sh actually
- prepend /b, /u = /b + /a
- invoke u/sh, which is b/sh actually

And
- both u/sh has 10 as its inode number (for example)
- a/sh has i20, and b/sh has i30
- lsof shows i10 only for two sh processes

Even if lsof provides i10 and aufs provides all three inode numbers, you
still need ways to find the process which refers i20 (or i30).


> I don't know, it could make sense to have them available through 
> /sys/fs/aufs/si_xxxxx/br0_inodes as a file or enumerable directory.

Then what will you do if you get i20 or i10?


J. R. Okajima

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

Reply via email to