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

"Darrick J. Wong" <[email protected]>
Newsgroups org.kernel.vger.linux-ext4,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.fstests,org.kernel.vger.linux-btrfs,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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.