Re: [PATCH v7 06/11] fstests: verify f_fsid for cloned filesystems
Anand Suveer Jain <[email protected]> Wed, 22 Jul 2026 07:21:15 +0800
| 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 | <[email protected]> |
>>> 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? Thanks.