Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating xfs and writing files to it? #3

Open
xnox opened this issue Jan 22, 2025 · 3 comments
Open

Creating xfs and writing files to it? #3

xnox opened this issue Jan 22, 2025 · 3 comments
Labels
filesystem Filesystem support

Comments

@xnox
Copy link

xnox commented Jan 22, 2025

Hi, w.r.t. superblock handing is this to create / parse / read the FS metadata only (aka equivalent of reading or possibly even writing data as it is seen after mkfs.xfs)?

Or can one also populate files?

I have been looking for anything that can write out xfs filesystem, without using a Linux kernel (and mounting a filesystem).

@ikeycode
Copy link
Member

Hey lad, ltns :)

For now we're prioritising superblock detection. However as seen in luks2 we're planning to go further. Eventually I'd like opt-in std and write support for a number of filesystems and pull in the superblock crate for their data definitions.

First one will be erofs and maybe we can get the design right there then extend.

I think log and cache bits will fail to consumer domain and exposed / integrated via crate.

If I grok, you're looking to build complete filesystem images as euid!= 0 and bypass loop entirely?

@xnox
Copy link
Author

xnox commented Jan 22, 2025

Indeed long time no seen.

And yes, the dream is to be able to built filesystem / VM images, unprivileged, like one can do today for most part to build containers / .deb / .rpm / well they all are just tarballs more or less.

@ikeycode
Copy link
Member

Yeah os agnostic artefact production is on my agenda, esp for CD.

Did I mention we're happy to have companies sponsor projects like disks-rs?

XD

@ikeycode ikeycode added the filesystem Filesystem support label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filesystem Filesystem support
Projects
None yet
Development

No branches or pull requests

2 participants