>> To do a "-o del:X", doesn't one have to kill all file locks on the >> union, even those which aren't blocking X? >> > Of course, the answer is no. > Usually "lsof" is enough for such case I think, because users can find > which file exists in which branch easily. > "ls /the/file/path/under/all/branches" will help too. > Isn't it enough for you? > So if file "xyz" is locked and belongs to the union, I can just scan each branch in order until I find either "xyz" or ".wh.xyz". Then I know with certainty that this file lock is keeping this branch busy?
If everything in aufs is immediately applied to the branch (no caching within aufs), then I guess this algorithm can work. Perhaps I assumed wrongly that aufs kept unwritten branch state internally. ------------------------------------------------------------------------------ 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://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/