Re: [PATCH v7 06/11] fstests: verify f_fsid for cloned filesystems

"Darrick J. Wong" <[email protected]> Tue, 21 Jul 2026 16:25:48 -0700
Newsgroups org.kernel.vger.fstests,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-ext4,org.kernel.vger.linux-xfs
Message-ID <20260721232548.GU7398@frogsfrogsfrogs>
On Wed, Jul 22, 2026 at 07:21:15AM +0800, Anand Suveer Jain wrote:
> 
> 
> >>> just in case there *are* programs foolish enough to
> >>> use (fsid,ino) as a uniqueness check.
> >>
> >> On the other hand, if a program needs a unique ID, do we currently have
> >> any way to get one?
> > 
> > I don't think there is a way to get a globally unique identifier for a
> > filesystem image except for the meta_uuid filesystems, and even then
> > only if the volume manager resets the user-visible uuid every time it
> > makes a clone and nobody runs a duplicator.
> 
> Yeah, interesting problem to solve though.
> Do you have any further code review comments on this test case?

Not really, no.

--D