A tiny fake uname call gets Zed's remote server running on FreeBSD

Lying to Zed to get its remote server running on FreeBSD

A tiny fake uname call gets Zed's remote server running on FreeBSD

Zed has no FreeBSD remote server, so Hayzam spoofed the platform string with a small uname wrapper, letting FreeBSD's Linuxulator run the Linux build. That exposed a kernel regression: a February 2026 NFS fix made the Linux getdents path over-read its buffer, so Zed saw empty folders or silently lost files. His patch, now in FreeBSD 15.2, fixes both getdents and getdents64.

When I tried the quiet way, 112 of my 1,002 files vanished (from the listing) with no warning. A loud error beats a quiet loss I'm pretty sure.

More from this day

2026-11-14