linux
- Designing alerts you'll actually understand at 3am
The first SMART digest was technically complete and humanly useless. re=344 means nothing at 3am. Here's the redesign that does the thinking for you.
- Salvaging a dying disk by partitioning around the wound
A drive SMART calls dead had all 58 bad blocks in the first 5% of the platter. Read the map, partition past the wound, reclaim 6.7 TiB.
- Reallocated sectors: is your drive dying or just scarred?
One drive had 344 reallocated sectors, the other had zero. The one with zero was dying. The raw count lies; the delta under a forced write pass tells the truth.
- Stop chasing a sensor that doesn't exist
The LSI SAS2008 HBA cooking itself has no temperature sensor. No tool, driver, or root binary conjures a number that was never wired to the die.
- All four drives at once, and why that was the good news
Every HDD on the storage box vanished at once — a quadruple drive death, it looked like. It was two mundane faults stacked together, and the data was fine.
- Transmission is a remote-code-execution box by default
Transmission runs a script of the RPC caller's choosing when a torrent finishes. Seccomp can't block that exec; a systemd sandbox can make it worthless.
- Three ways /proc will ruin your afternoon
Building a process viewer in Go sounds simple. Read /proc, parse some numbers, render a table. The kind of project that takes a weekend and teaches nothing new. It took longer than a weekend. The parenthesis trap#/proc/<pid>/stat is a single line of …