Skip to content

Conversation

@taukakao
Copy link
Member

@taukakao taukakao commented Jan 3, 2026

This prevents running out of space if there are too many changes.
It also improves compatibility with non-CoW filesystems since it doesn't rely on reflink clones anymore.

The downside is that the time window in which the future root is unusable will be longer.
Though since we always have the current root, this should not really be a problem.

@taukakao taukakao requested a review from a team January 3, 2026 00:41
@NN708 NN708 force-pushed the fix-space-issues branch from fc09cf0 to 10c88de Compare January 3, 2026 06:47
Copy link
Member

@NN708 NN708 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to improve dry run handling, as OciExportRootFs() now breaks the future root.

@taukakao
Copy link
Member Author

taukakao commented Jan 3, 2026

Yeah, true, I will look through everything.

@taukakao taukakao marked this pull request as draft January 3, 2026 11:34
taukakao and others added 2 commits January 3, 2026 13:05
This prevents running out of space if there are too many changes.
@taukakao
Copy link
Member Author

taukakao commented Jan 3, 2026

I added the clean up again. It might be useful if files are corrupted for some reason or in some edge cases.

I renamed it though, since it would otherwise be a somewhat confusing variable name.

@taukakao taukakao marked this pull request as ready for review January 3, 2026 15:13
@taukakao taukakao requested a review from NN708 January 3, 2026 15:13
@taukakao taukakao requested a review from NN708 January 5, 2026 20:20
Copy link
Member

@NN708 NN708 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@taukakao Could you please create a new release in your repository? This would allow us to build a test image before merging.

This makes it possible to cancel the operation after downloading.
@taukakao
Copy link
Member Author

taukakao commented Jan 6, 2026

@NN708 I made a release and tested it a bit.
https://github.com/taukakao/ABRoot/releases/tag/fix-space-issues-release-3

Everything seems to be as expected.

@taukakao taukakao requested a review from NN708 January 6, 2026 16:04
@NN708
Copy link
Member

NN708 commented Jan 6, 2026

@NN708 I made a release and tested it a bit. https://github.com/taukakao/ABRoot/releases/tag/fix-space-issues-release-3

Everything seems to be as expected.

Great work! I'll do some testing later as well.

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