From: Arnd Bergmann Subject: Re: [RFC 0/7] [RFC] cramfs: fake write support Date: Mon, 2 Jun 2008 16:13:14 +0200 Message-ID: <200806021613.15088.arnd@arndb.de> References: <200805311737.58991.arnd@arndb.de> <200806021315.41211.arnd@arndb.de> <6880.1212411400@jrobl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: Jamie Lokier , Phillip Lougher , David Newall , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, hch@lst.de To: hooanon05@yahoo.co.jp Return-path: Received: from moutng.kundenserver.de ([212.227.126.188]:54256 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754997AbYFBOOS (ORCPT ); Mon, 2 Jun 2008 10:14:18 -0400 In-Reply-To: <6880.1212411400@jrobl> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Monday 02 June 2008, hooanon05@yahoo.co.jp wrote: > I don't want you to call aufs users crazy who are using such policies. > By the way, how do you think link(2) or rename(2)? When the source file > exists on the lower writable branch, do you think copy-up is the best > way? Or do you think all lower branches should be readonly? > There is an exception in aufs's branch-select policy. That is > link/rename case. When the source file exists on a writable branch, aufs > tries link/rename it on that branch in every policy. Do you think it > best to do it on the top branch only? Yes, I tend to consider the union case identical to the cross-mount move or link, so I'd expect the kernel to return errno=EXDEV and user space to handle this by doing the appropriate copy/unlink as it does for other cases already. Arnd <><