From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Whitcroft Subject: Re: [PATCH] xfs: publish UUID in struct super_block Date: Fri, 28 Apr 2017 06:49:45 +0100 Message-ID: <20170428054945.rg54cm5yftfuqfsf@brain> References: <1493279911-2936-1-git-send-email-amir73il@gmail.com> <20170427193118.GH23371@birch.djwong.org> <984c6ee4-9ece-7424-420f-1fc26faca378@sandeen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <984c6ee4-9ece-7424-420f-1fc26faca378@sandeen.net> Sender: linux-fsdevel-owner@vger.kernel.org To: Eric Sandeen Cc: "Darrick J. Wong" , Amir Goldstein , Christoph Hellwig , Miklos Szeredi , Vivek Goyal , Al Viro , linux-xfs@vger.kernel.org, linux-unionfs@vger.kernel.org, linux-fsdevel@vger.kernel.org List-Id: linux-unionfs@vger.kernel.org On Thu, Apr 27, 2017 at 03:30:35PM -0500, Eric Sandeen wrote: > It'd be trivial to make that a vfs function and set a flag on the vfs super > if the UUID is not unique. Would that be worthwhile? I can send a patch > if so. This only tells you that the UUID it has is unique now. As you are contemplating storing them in the FS they have to be unique in space _and_ time. No check you can do now can tell you if the UUID is unique for all time. Right ? -apw