Hello Lou,

Last summer we have discussed about the inode number in aufs,
particularly "How to identify which locked files are keeping an aufs
branch". I hope you would remember and still be interested in aufs.

Now I am considering about a new utility auxino which receives an aufs
inum and prints one (or more) inum on its branch fs.

For example,

- 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
- 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

In this case the utility will print like this.

$ auxino 10
b0: 30
b1: 20

$ auxino --bindex 1 10
20

Or you may prefer another one.

$ auxino --busy 1
10
... (more inode numbers)

These inodes are in use and making the branch (index 1) busy.
But "--busy" will be complicated a little.
So I'd ask you first two examples will be enough for you.


J. R. Okajima

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

Reply via email to