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

From: Shaya Potter
Date: Fri May 18 2007 - 10:31:33 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/