From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shaya Potter Subject: Re: [RFC][PATCH 10/14] In-kernel file copy between union mounted filesystems Date: Fri, 18 May 2007 09:47:31 -0400 Message-ID: <464DAE73.7000302@cs.columbia.edu> References: <20070514093722.GB4139@in.ibm.com> <20070514094329.GL4139@in.ibm.com> <20070518111042.GC4869@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Engelhardt , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jan Blunck To: bharata@linux.vnet.ibm.com Return-path: Received: from brinza.cc.columbia.edu ([128.59.29.8]:44879 "EHLO brinza.cc.columbia.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755240AbXERObX (ORCPT ); Fri, 18 May 2007 10:31:23 -0400 In-Reply-To: <20070518111042.GC4869@in.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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.