cirocosta / chicken-gun

stressing your system, a chicken at a time
MIT License
9 stars 0 forks source link

Storage util #10

Open cirocosta opened 5 years ago

cirocosta commented 5 years ago

Making use of the same logic as in net for copying data from a socket to a file (and vice-versa), we might be able to very quickly fill large chunks of disk space using splice consuming from /dev/zero, or eventually writing to a file once and then performing n splice(2)s from it afterward.