From mboxrd@z Thu Jan 1 00:00:00 1970 From: hooanon05@yahoo.co.jp Subject: Re: [RFC] Union mounts/writable overlays design Date: Mon, 12 Oct 2009 14:19:14 +0900 Message-ID: <7347.1255324754@jrobl> References: <20091001145547.GA29152@shell> <15604.1254497442@jrobl> <20091011014339.GB12667@shell> Cc: Jan Blunck , Alexander Viro , Christoph Hellwig , Andy Whitcroft , Scott James Remnant , Sandu Popa Marius , Jan Rekorajski , Arnd Bergmann , Vladimir Dronnikov , Felix Fietkau , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Valerie Aurora Return-path: Received: from mtoichi12.ns.itscom.net ([219.110.2.182]:37294 "EHLO mtoichi12.ns.itscom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308AbZJLFU6 (ORCPT ); Mon, 12 Oct 2009 01:20:58 -0400 In-Reply-To: <20091011014339.GB12667@shell> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Valerie Aurora: > In writable overlays, every directory will be copied up to the top > writable overlay, so /u and /u/usr will both have the same st_dev. > The copy up happens on lookup, so a stat() will trigger this copy up. > A directory and a regular file in it will have different st_dev's, > though. Can you foresee any problems with that? You're right. I was confused with another implementation of UnionMount, sorry. I think I had to sleep well. J. R. Okajima