On 11/05/2023 08:51, David Sterba wrote: > [...] > With the scanning complications that Anand mentions the compat_ro flag > might make more sense, with all the limitations but allowing a safe use > of the duplicated UUIDs. > > The flag would have to be set at mkfs time or by btrfsune on an > unmounted filesystem. Doing that on a mounted filesystem is possible too > but brings problems with updating the state of scanned device, > potentially ongoing operations like dev-replace and more. Hi David, thank you! So, would it make sense to also have a "nouuid"-like mount option along with the compat_ro flag? I'm saying this because I'm considering the "old"/existing SteamOS images heh If we go only with the compat_ro flag, we'll only be able to mount 2 images at same time iff they have it set, meaning it'll only work for newer images. Anyway, I'm glad to implement the compat_ro flag code - I'll be out some weeks on holidays, and will retake this work as soon as I'm back. Thanks all that provided feedback / suggestions in this thread! Cheers, Guilherme