-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
storage: Be smart about default filesystem type #19854
storage: Be smart about default filesystem type #19854
Conversation
eaf4cdd
to
cee85e1
Compare
cee85e1
to
75b4b53
Compare
The code looks good to me, but I have questions about changing the default behavior from recommending xfs to now silently falling back to ext4. I wonder what the argument for the default being ext4 is? I know xfs is the RHEL blessed fs. |
This fallback should be exceedingly rare. Normally, the default is taken from the root filesystem, which is xfs on RHEL. Only if Cockpit does not support the filesystem type of the root filesystem (or can't find the root fs due to bugs) will it fall back to ext4. We can of course have a different fallback since it shouldn't really matter. I chose ext4 because I think it's the most standard Linux filesystem. |
Since my approval the pixel tests have changed, I'm happy to re-approve once that's fixed. |
75b4b53
to
23f3941
Compare
@@ -155,6 +157,17 @@ export function format_dialog(client, path, start, size, enable_dos_extended) { | |||
} | |||
} | |||
|
|||
function find_root_fsys_block() { | |||
const root = client.anaconda?.mount_point_prefix || "/"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This added line is not executed by any test. Details
No description provided.