Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: inode Clear Filter

Optimizing My Disk Usage Program

In my previous post, Maybe the Fastest Disk Usage Program on macOS, I wrote about dumac. A very fast alternative to du -sh that uses a macOS-specific syscall getattrlistbulk to be much faster than the next leading disk usage program. I received some great technical feedback in the Lobsters thread. After implementing some of the suggestions, I was able to increase performance by ~28% on my large benchmark. hyperfine --warmup 3 --min-runs 5 './before temp/deep' './after temp/deep' Benchmark 1: .

Topics: 128 deep inode ms temp

Deep Down the Rabbit Hole: Bash, OverlayFS, and a 30-Year-Old Surprise

Deep Down the Rabbit Hole: Bash, OverlayFS, and a 30-Year-Old Surprise This blog post recounts a recent debugging session that uncovered a surprising set of issues involving Bash, getcwd() , and OverlayFS. What began as a simple customer bug report evolved into a deep dive worth sharing. Initial Bug Report A customer reported that OpenSSH scp failed after switching to OverlayFS. We found the following error in the logs: shell-init: error retrieving current directory: \ getcwd: cannot access