News for hackers. Stuff that matters.
Re:Running Out of Disk Space in Production by dotancohen on Wednesday April 08, 2026 @01:36AM (#47685756)
My choice has always been `shred`:

  $ sudo truncate --size 1G /emergency-space
  $ sudo shred /emergency-space

I find it widely available, even in tiny distros.
Re:Running Out of Disk Space in Production by ape4 on Wednesday April 08, 2026 @01:56PM (#47693863)
Very cool. Reading the man page I see, by default, shred does 3 iterations. Adding --iterations=1 makes it random enough for this purpose and faster.
Re:Running Out of Disk Space in Production by dotancohen on Wednesday April 08, 2026 @07:56PM (#47697692)
Terrific, thank you!