
Quick Links:
Empeg FAQ
|
RioCar.Org
|
Hijack
|
BigDisk Builder
|
jEmplode
|
emphatic
Repairs: Repairs
|
#299613 - 21/06/2007 20:48
Re: How do I fill up a hard disk really really quick?
[Re: wfaulk]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14506
Loc: Canada
|
Quote:
Quote: I'm aware there's a command to do that sort of thing in Linux, but this needs to be on a windows PC.
There's actually more to it than that. Unix provides a virtual device file that produces an infinite amount of data (all zeroes) when read. It also comes with a utility that will copy an arbitrary amount of data from one file to another file. It is the combination of these two things that allows one to do this in Unix, not an individual utility that allows you to create files of a certain size.
Actually, there's possibly a simpler way to do it here, depending upon what Tony actually wanted -- just open a new file, and use lseek() and ftruncate() to force it to be a humongous size without any significant I/O.
Cheers
|
Top
|
|
|
|
|
|
|