Re: [PATCH v7 04/11] fstests: add _require_unique_f_fsid() helper

Anand Suveer Jain <[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 <[email protected]>
> _require_unique_fsid(
> {
> 	case "$FSTYP" in
> 	ext*)
> 		# Ext4 derives f_fsid from the superblock UUID, meaning
> 		# clones share the same f_fsid until their UUIDs
> 		# diverge.
> 		_notrun "Target filesystem ($FSTYP) does not guarantee unique f_fsid on clones."
> 		;;
> 	*)
> 		# Conversely, XFS, Btrfs, and F2FS ensure f_fsid remains
> 		# unique per filesystem instance (often by deriving it
> 		# from the UUID and underlying block device.)
> 		;;

> 	fi
esac

> }
> 
> --D
> 

Yeah sure, suggestions applied.

Thanks, Anand
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.