Hello Preeti, Preeti Sharma: > I am new to aufs and this list. I just began looking at the aufs3.0 code > and noticed coo= is ignored . > Is there a patch for this ?
The copyup-on-open feature was dropped when aufs grew up to aufs2. http://sourceforge.net/mailarchive/message.php?msg_id=21374168 In other words, it is the feature which existed in aufs1 only. And there is no patch for it. If you really want the coo feature in aufs3, then I'd suggest you try the simplest way, which is, - enable CONFIG_KPROBES. - write another module which is based upon kprobes. + read linux/Documentation/kprobes.txt + write a jprobe function for au_do_open() which is an aufs internal function. + in the jprobe function, execute a harmless but forcing aufs to copyup operation such like chmod/chown() to the current mode/owner/group, or utime() for atime. In this approach, you don't have to modify the aufs source files, just create a small module which sets a hook to the aufs internal function. J. R. Okajima ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2