Skip to content

feat: Enable CONFIG_EROFS_FS in kernel config #1232

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jnohlgard
Copy link
Contributor

This is potentially useful for IMAGECACHE partitions and as an alternative for squashfs for the rootfs.

EROFS - Enhanced Read-Only File System

A modern, flexible, general-purpose, high-performance block-based immutable filesystem with highly-optimized ondisk format and runtime implementation aimed at various use cases instead of just focusing on storage space saving without considering any side effects of runtime performance.

See: https://erofs.docs.kernel.org/en/latest/

EROFS - Enhanced Read-Only File System

A modern, flexible, general-purpose, high-performance block-based
immutable filesystem with highly-optimized ondisk format and runtime
implementation aimed at various use cases instead of just focusing on
storage space saving without considering any side effects of runtime
performance.

See: https://erofs.docs.kernel.org/en/latest/

Signed-off-by: Joakim Nohlgård <[email protected]>
@github-project-automation github-project-automation bot moved this to To Do in Planning May 15, 2025
@talos-bot talos-bot moved this from To Do to In Review in Planning May 15, 2025
@smira
Copy link
Member

smira commented May 15, 2025

We looked into that, but there's no usecase right now for it in Talos core. Anything you wanted to use it for?

@jnohlgard
Copy link
Contributor Author

My use case is using EROFS instead of ext4 for the image cache partition on an embedded system where I write a prepopulated IMAGECACHE partition as part of the initial OS flash. Since the image cache is mounted read-only during normal operation it makes more sense to use something like this instead of ext4.

@smira
Copy link
Member

smira commented May 15, 2025

Talos doesn't support EROFS in any way for the image cache today, and the plan is to allow image cache to be updated on the fly (e.g. by inserting new image cache volume).

@smira smira moved this from In Review to On Hold in Planning May 15, 2025
Copy link

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale label Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: On Hold
Development

Successfully merging this pull request may close these issues.

2 participants