Skip to content

docs(windows): spec device-file handling strategy (WIND-2) - #5990

Merged
oferchen merged 1 commit into
masterfrom
docs/wind-2-device-file-strategy
Jun 19, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/wind-2-device-file-strategy

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Pick (a) skip-and-warn as the default Windows receiver strategy for device / FIFO / socket entries, with upstream-format --fake-super placeholder via NTFS ADS as opt-in.
  • Cite upstream rsync 3.4.1 syscall.c:do_mknod (lines 163-211) and flist.c device/special wire encoding (lines 904-925, 949-954), and current oc-rsync gaps in crates/metadata/src/special.rs:292-305 (silent no-op writers) and crates/engine/src/local_copy/executor/special/device.rs:212-222 (bogus bookkeeping).
  • Hold the wire contract: no protocol-level change; sender still serialises rdev major/minor exactly as upstream.
  • Defer follow-ups: WIND-3 implementation, WIND-4 regression test (Windows CI + Unix negative control), WIND-5 support-matrix doc.

Test plan

  • Spec-only change; no code touched.
  • cargo fmt --all clean.
  • No references to AI tooling in branch / commit / doc.

Pick skip-and-warn as the default for native Windows receivers and lock
the upstream-format fake-super placeholder via NTFS ADS as the opt-in
extension. Cites upstream rsync 3.4.1 syscall.c:do_mknod and flist.c
device/special handling, the current non-Unix no-op writers in
crates/metadata/src/special.rs and the bookkeeping bug in
crates/engine/src/local_copy/executor/special/device.rs, and explicitly
defers implementation (WIND-3), regression test (WIND-4), and support
matrix doc (WIND-5).
@oferchen
oferchen force-pushed the docs/wind-2-device-file-strategy branch from e938672 to 360b12c Compare June 19, 2026 07:25
@oferchen
oferchen merged commit d8e63da into master Jun 19, 2026
9 checks passed
@oferchen
oferchen deleted the docs/wind-2-device-file-strategy branch June 19, 2026 07:35
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 19, 2026
oferchen added a commit that referenced this pull request Aug 24, 2026
Pick skip-and-warn as the default for native Windows receivers and lock
the upstream-format fake-super placeholder via NTFS ADS as the opt-in
extension. Cites upstream rsync 3.4.1 syscall.c:do_mknod and flist.c
device/special handling, the current non-Unix no-op writers in
crates/metadata/src/special.rs and the bookkeeping bug in
crates/engine/src/local_copy/executor/special/device.rs, and explicitly
defers implementation (WIND-3), regression test (WIND-4), and support
matrix doc (WIND-5).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant