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

Swap support for mount point assignment #5032

Conversation

vojtechtrefny
Copy link
Contributor

The idea is that when user selects a device formatted as swap we'll automatically set mount point to swap and disable the input field. Also swap devices can now be reused without reformatting (there's no reason to force reformatting and there are situation where it could cause issues).

image

(On the screenshot, both vda2 and vda3 are preformatted as swap.)

@garrett
Copy link

garrett commented Aug 10, 2023

Usually, you don't want to change something that comes before with something that comes later (that is, elements that are to the left (in LTR, but right in RTL) and above), but I guess in this case, it makes sense.


Also, unrelated: This screenshot shows there's a lot of space between the reformat and trash/remove icon... I guess we should fix the layout and how it expands (in another PR).

@vojtechtrefny vojtechtrefny marked this pull request as ready for review August 10, 2023 11:57
@vojtechtrefny
Copy link
Contributor Author

/kickstart-test --testtype smoke

@vojtechtrefny vojtechtrefny force-pushed the master_mountpoint-assignment-swap branch from a1f2eb3 to 158fb8b Compare August 15, 2023 07:04
We don't need to reformat swap partition to be able to reuse it
and when swap is shared between multiple systems reformatting it
would change its UUID potentially breaking the other system(s) we
are dualbooting with.
Swap devices are not really mountable, but we need to somehow
indicate that the device will be used in the installed system and
written into /etc/fstab. For that we currenly use "swap" mount
point both in TUI mount point assignment and in Custom Spoke. For
WebUI we'll prefill the mount point for all selected devices
formatted to "swap".
@vojtechtrefny vojtechtrefny force-pushed the master_mountpoint-assignment-swap branch from 158fb8b to 5ee3ae4 Compare August 15, 2023 07:42
@vojtechtrefny
Copy link
Contributor Author

/kickstart-test --testtype smoke

@vojtechtrefny vojtechtrefny merged commit 948c3ef into rhinstaller:master Aug 15, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants