Lou Gosselin: > So, can we conclude that to do "-o del:X", it may be necessary to kill > all file handles in the union?
Currently, as long as you don't type Magic SysRq, you won't know the opened files in a specific branch because lsof tells you the files in aufs. It is up to you to kill *ALL* processes accessing aufs. But I believe it is unnecessary. Also I am afraid you might not know the inotify case. If you set inotify to a file in aufs, then it makes the inode busy and it MAY make the branch busy. In this case, lsof will not tell you that the file is opened, since the file is not opened. I am afraid you won't be happy even if I develop a new feature such like - ioctl interface to get the opened file path - /sys/fs/aufs/*/opened_files - or something. Because it is essentially equivalent to Magic SysRq. J. R. Okajima ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm