(Just open 50 tabs in Google Chrome :D (just kidding, no you can't))
Shortest code for infinite disk I/O any language, C# example:
using System.IO;
namespace FileApp {
static class Program {
public static void Main() {
do {
File.WriteAllText("a", "a");
File.Delete("a");
} while (true);
}
}
}
You can't just fill the entire disk though, as then it would halt in the end and would be finite.
And you can't do reading only, infinite writing has to happen. (It has to kill my SSD after enough runtime.)
Get cracking! :)
/dev/null
? (Isyes>/dev/null
a valid Bash answer?) \$\endgroup\$