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

Align partitions #2

Merged
merged 3 commits into from Jan 9, 2020
Merged

Align partitions #2

merged 3 commits into from Jan 9, 2020

Conversation

axaxs
Copy link

@axaxs axaxs commented Jul 26, 2019

This is an attempt to properly align partitions when creating them. The current incarnation makes no such attempt and gives misaligned partitions. This does cause worse performance, and can cause shortened disk life.
I am not an expert in this distro, nor have I read all of the code. It's been tested (by me) for a new installation with and without LUKS. I do not know if other schemes exist, such as creating partitions alongside existing ones, if so, that should likely be tested.
It's completely fine to not accept this PR as is and tune it yourself. Just offering what worked for me.
I copied these files from the live installer to work with rather than this repo(which explains the copyright commit), so please watchout for other changes that may have existed.

@JoshStrobl
Copy link
Member

LGTM, thanks for the patch! We'll see that this gets further testing as we prep for release.

@JoshStrobl JoshStrobl merged commit 345cc66 into getsolus:master Jan 9, 2020
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.

None yet

2 participants