Here's another tip:
Create a 2GB "sacrificial" file for your volumes. When the disk fills up and your system locks up, kill it and run your cleanup scripts. It's helped me get out of a bind a few times now.

```bash
dd if=/dev/urandom of=sacrifice.txt bs=1M count=2048
```

```bash
rm sacrifice.txt
```

Hit that bell icon for more techromancy tips and cyberlifehacks

@mauve wouldn't fallocate be a better command for that? with dd, you actually have to wait for the full amount to be written to the drive, which is not insignificant

Follow

@esoteric_programmer probably better for like 99% of cases though, good idea!

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.