Re: [RFC][PATCH 10/14] In-kernel file copy between union mounted filesystems

Shaya Potter
2007-05-18T14:31:32Z

Bharata B Rao wrote:

>
> Not really. This is called during copyup of a file residing in a lower
> layer. And that is done only for regular files.

That is broken.

You should be able to change the permissions on a device node on a layer
that is RO.

so it would copy it up (1. mknod, 2. copy attributes) and then the
appropriate attribute notification change would be called.