[PLUG] Disk Wipe on Linux
AthlonRob
athlonrob at axpr.net
Thu Apr 21 05:35:35 UTC 2005
Galen Seitz wrote:
> AthlonRob <athlonrob at axpr.net> wrote:
>
>>I did, some time ago, want to create a /dev/one
>
> I asked about this a couple of years ago. Unfortunately I didn't post
> what I ended up using. A quick search suggests this:
>
> tr \\0 \\377 < /dev/zero
I wanted actual ones, I think. :-)
Something along the lines of:
#include <stdio.h>
int main()
{
while (1) {
printf("1");
}
return 0;
}
...would do just fine. :-)
Rob
More information about the PLUG
mailing list