Thank you very much for the patch, I'll try it tomorrow
Tomas M [EMAIL PROTECTED] wrote: > Tomas M: >> I was just wondering if there is a way to see what resources >> (files/directories/etc) are used by aufs (perhaps through /proc or >> /sys). This would help very much. So please consider this as a feature >> request for aufs sometime in the future :) > > I have a plan to show the opened aufs files via sysfs. > In your case, the cause can be the current working directory of a > process. It is just referenced instead of opened. > > This debug patch prints 'busy' dentries which represents filenames when > you invoke remount,del. If you don't get any filenames, then it means > you hit other minor reason. > > > Junjiro Okajima > > ---------------------------------------------------------------------- > diff -x CVS -x RCS -x .pdiff -rup ../../aufs.anon/aufs/fs/aufs/branch.c > ./fs/aufs/branch.c > --- ../../aufs.anon/aufs/fs/aufs/branch.c 2007-06-18 11:43:34.000000000 > +0900 > +++ ./fs/aufs/branch.c 2007-06-18 22:07:56.069294432 +0900 > @@ -592,7 +592,8 @@ static int test_children_busy(struct den > err = -EBUSY; > di_read_unlock(d, AUFS_I_RLOCK); > if (err) > - LKTRTrace("%.*s\n", DLNPair(d)); > + //LKTRTrace("%.*s\n", DLNPair(d)); > + Dbg("%.*s\n", DLNPair(d)); > } > } > di_write_lock_child(root); /* aufs_write_lock() calls ..._child() */ > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/