Skip to content

chore(orch): split mkfs.ext4 feature flags into individually commentable slice#2183

Merged
arkamar merged 1 commit into
mainfrom
chore/split-fs-parameters
Mar 20, 2026
Merged

chore(orch): split mkfs.ext4 feature flags into individually commentable slice#2183
arkamar merged 1 commit into
mainfrom
chore/split-fs-parameters

Conversation

@arkamar

@arkamar arkamar commented Mar 20, 2026

Copy link
Copy Markdown
Member

Replace the single comma-separated string literal for mkfs.ext4 -O with strings.Join over a slice, so each ext4 feature flag can be commented individually. Flags are sorted alphabetically within the main group, with ^orphan_file separated at the end as a guest-compatibility workaround.

Original comments describing the feature set rationale (tar2ext4 matching, kept defaults, orphan_file compat) are preserved in place.

No functional change - produces the identical argument string at runtime.

Addresses review feedback from #2082.


Note

Low Risk
Low risk refactor of a command argument construction; main risk is accidentally changing flag ordering/content, but the intended runtime string is unchanged.

Overview
Updates Make in ext4.go to build the mkfs.ext4 -O feature list via strings.Join over an individually commented slice (with ^orphan_file kept as a dedicated compatibility workaround), rather than a single hard-coded comma-separated string, with no intended behavioral change.

Written by Cursor Bugbot for commit dd9341d. This will update automatically on new commits. Configure here.

…ble slice

Replace the single comma-separated string literal for mkfs.ext4 -O with
strings.Join over a slice, so each ext4 feature flag can be commented
individually. Flags are sorted alphabetically within the main group,
with ^orphan_file separated at the end as a guest-compatibility workaround.

Original comments describing the feature set rationale (tar2ext4 matching,
kept defaults, orphan_file compat) are preserved in place.

No functional change - produces the identical argument string at runtime.

Addresses review feedback from #2082.

Link: #2082 (comment)
@arkamar arkamar merged commit e65ddff into main Mar 20, 2026
38 checks passed
@arkamar arkamar deleted the chore/split-fs-parameters branch March 20, 2026 10:31
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.

2 participants