TIL · linux
- EIO vs ENOENT: the error tells you if the disk droppedI/O error and 'no such file' point to different causes.
- Never run umount -a on a host with snapIt unmounts securityfs and bricks every snap binary until reboot.
- Protect a mount's base directory with chattr +iStops silent writes to the wrong disk when the mount doesn't come up.