Skip to content

feat(flist): propagate preserve_specials through CLI and flist writer - #2515

Merged
oferchen merged 1 commit into
masterfrom
feat/preserve-specials-propagation
Feb 27, 2026
Merged

oferchen merged 1 commit into
masterfrom
feat/preserve-specials-propagation

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Wire preserve_specials and preserve_devices config flags through to FileListWriter in the generator
  • Add device/special file filtering in walk_path based on config flags
  • Create proper FileEntry types for block/char devices, FIFOs, and sockets with platform-specific rdev_to_major_minor extraction
  • Add CLI argument tests verifying --specials sets independently from --devices

Test plan

  • cargo fmt --all -- --check passes
  • cargo clippy --workspace --all-targets --all-features --no-deps -- -D warnings passes
  • cargo nextest run --workspace --all-features passes (22,371 tests)

@github-actions github-actions Bot added the enhancement New feature or request label Feb 27, 2026
@oferchen
oferchen force-pushed the feat/preserve-specials-propagation branch from 3be26a9 to 48b268c Compare February 27, 2026 04:50
@oferchen
oferchen merged commit 7bb6e93 into master Feb 27, 2026
3 of 4 checks passed
@oferchen
oferchen deleted the feat/preserve-specials-propagation branch February 27, 2026 04:52
oferchen added a commit that referenced this pull request May 1, 2026
…tion

feat(flist): propagate preserve_specials through CLI and flist writer
oferchen added a commit that referenced this pull request May 5, 2026
…tion

feat(flist): propagate preserve_specials through CLI and flist writer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant