Hi Luca, On Fri, Apr 11, 2025 at 04:38:10PM +0200, Luca DiMaio wrote: > EXT4 addresses this issue with the -d flag, which allows populating > from an archive or directory without mounting. > Is there similar functionality available for XFS, or is there interest > in developing a method for generating reproducible XFS root > filesystems? > > I'm asking this because we'd be interested in using XFS as a filesystem for the > final product. mkfs.xfs supports the -p protofile option which allows populating the file system with existing files and directories at mkfs time. Can you that and reports if it helps? If not we might be able to look into fixing issues with note. Note that the protofile is a little arcane so read the documentation carefully.