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

ubifs: Add configuration for space-fixup #234

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

ee-smuxel
Copy link
Contributor

Allows passing the '-F' flag to force file-system free space to be fixed up on first mount.

image-ubifs.c Show resolved Hide resolved
Allows passing the '-F' flag to force file-system free space to be
fixed up on first mount.

Signed-off-by: Sebastian Muxel <[email protected]>
@michaelolbrich
Copy link
Member

Hmm, I'm not entirely opposed to this, but why not just use extraargs for this?

@ee-smuxel
Copy link
Contributor Author

You could argue with any argument that it could be passed with extraargs to be fair.

I think it's worth an options as it's the recommended way of generating a UBIFS image when one can not flash it through ubiformat which is a common-ish case. It's also one of the options specifically talked about in the mtd-linux FAQ: http://linux-mtd.infradead.org/faq/ubifs.html#L_free_space_fixup.

@michaelolbrich
Copy link
Member

Ok, that sounds like the option is prominent enough to deserve its own property here.

@michaelolbrich michaelolbrich merged commit fd7cb9e into pengutronix:master Feb 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants