From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [Fwd: [Bug 136] New: FSID returned from statvfs always 0] Date: Tue, 17 Dec 2002 21:15:00 -0800 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <3E000454.F791294@digeo.com> References: <3DED43F7.AD396584@digeo.com> <20021204032511.GA7646@win.tue.nl> <20021209230418.GA9444@win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "H. Peter Anvin" , linux-fsdevel@vger.kernel.org Return-path: Received: from digeo-nav01.digeo.com (digeo-nav01.digeo.com [192.168.1.233]) by packet.digeo.com (8.9.3+Sun/8.9.3) with SMTP id VAA26792 for ; Tue, 17 Dec 2002 21:15:02 -0800 (PST) To: Andries Brouwer List-Id: linux-fsdevel.vger.kernel.org Andries Brouwer wrote: > > On Mon, Dec 09, 2002 at 02:15:12PM -0800, H. Peter Anvin wrote: > > > > The general idea is that f_fsid contains some random stuff such that > > > the pair (f_fsid,ino) uniquely determines a file. > > > This, of course, is the exact POSIX definition of the st_dev part of > > struct stat: (st_dev, st_ino) uniquely identifies the file. > > Yes, but the difference is that (st_dev, st_ino) only identifies > the file within a single machine, and may stop working when you > have NFS mounts. > > The traditional implementations use st_dev and NFS filehandles > and a hash of the filesystem type. > If this feature is to have any value, should not the fsid remain stable as the disk gets moved around the machine? I'm not sure I saw sufficient solidity in this discussion to be able to generate&justify a patch.