public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Luca DiMaio <luca.dimaio@chainguard.dev>
Cc: linux-xfs@vger.kernel.org, Scott Moser <smoser@chainguard.dev>,
	Dimitri Ledkov <dimitri.ledkov@chainguard.dev>
Subject: Re: Reproducible XFS Filesystems Builds for VMs
Date: Sun, 13 Apr 2025 22:39:09 -0700	[thread overview]
Message-ID: <Z_yffXTi0iU6S_st@infradead.org> (raw)
In-Reply-To: <CAKBQhKVi6FWNWJH2PWUA4Ue=aSrvVcR_r2aJOUh45Nd0YdnxVA@mail.gmail.com>

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.


  reply	other threads:[~2025-04-14  5:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-11 14:38 Reproducible XFS Filesystems Builds for VMs Luca DiMaio
2025-04-14  5:39 ` Christoph Hellwig [this message]
2025-04-14 16:53   ` Luca DiMaio
2025-04-16  5:34     ` Christoph Hellwig
2025-04-16  5:55       ` Darrick J. Wong
2025-04-16 14:50         ` Luca DiMaio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z_yffXTi0iU6S_st@infradead.org \
    --to=hch@infradead.org \
    --cc=dimitri.ledkov@chainguard.dev \
    --cc=linux-xfs@vger.kernel.org \
    --cc=luca.dimaio@chainguard.dev \
    --cc=smoser@chainguard.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox