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

Allow rootfs to expand to the backing partition #61

Merged
merged 3 commits into from Dec 4, 2019

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Dec 3, 2019

With this, the rootfs will expand to the size of the partition it is written on.

Note: NO fdisk or similar partitioning tool is being used. This is only a dumb "resize to the partition size" operation. This should be safe on all targets.

One issue, though, is that this is always being done on boot, using this initrd method.

This probably should rather be done in an installer. This is especially relevant considering that stage-1 is not being updated with rebuilds currently.

@samueldr samueldr added the 4. type: enhancement New feature or request label Dec 3, 2019
@samueldr samueldr merged commit 0d21d69 into NixOS:master Dec 4, 2019
@samueldr samueldr deleted the feature/grow-rootfs branch December 4, 2019 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant