blob: f3ca875d9e7262320ee77f5a41ff50a1a78aed79 (
plain)
1
2
3
4
5
6
7
8
9
|
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
void random_data_linux(char sym_drive[16]) {
char command[55];
sprintf(command, "dd if=/dev/zero of=%s bs=1024 count=1024", sym_drive);
system(command);
}
|