Skip to content

fix(stat,du,df): #1652 #1653 #1654 #1655 #1656 #1657 - #1695

Merged
caomengxuan666 merged 1 commit into
mainfrom
fix/stat-du-df-1652-1657
Nov 14, 2026
Merged

caomengxuan666 merged 1 commit into
mainfrom
fix/stat-du-df-1652-1657

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Closes #1652 #1653 #1654 #1655 #1656 #1657. Root cause for #1652/#1654 is WSL DrvFs LX symlinks (0xA000001D) that Win32 cannot traverse; adds FSCTL_GET_REPARSE_POINT reader + userland deref. stat: -L/%N/%s/%b/default header, '-' operand, TZ via date engine. du: -L/-H operand liveness, LX operands, dangling error text. df: minimum column widths, no trailing pad, default table shares print_table. #1654 traced to rewrite-regression 6f1668b (not a revert). Tests: stat 30/30, du 69/70 (pre-existing MAX_PATH), df 30/30, cargo 753/0.

- fs_win: FSCTL_GET_REPARSE_POINT reader incl. LX symlink (0xA000001D), deep deref
- stat: -L/%N/%s/%b/default header via the new reader; '-' operand; TZ via date engine
- du: -L/-H operand liveness by traversal mode; LX link operands; dangling error text
- df: minimum column widths + no trailing pad, default table shares print_table
- #1654 is a rewrite-regression from the rust2 stat wiring (6f1668b), not a revert
- tests: stat 30/30, du 69/70 (pre-existing >MAX_PATH), df 30/30, cargo 753/0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment