360 Smart Cloud
Jun 25, 2024 · Fundamentals
Debugging "directory not empty" errors from os.RemoveAll on a custom FUSE filesystem
This article details the investigation of a "directory not empty" failure when using Go's os.RemoveAll on a self‑built FUSE‑based distributed filesystem, describing the kernel readdir offset issue, the debugging steps taken, and the final fix applied.
FUSEGoKernel
0 likes · 6 min read