Re: Utility to write huge files instantly???



find a utility that uses NtCreateFile to create the file, and set the
AllocationSize parameter to the size he wants the file to be.

According to MS's filesystem guys, lseek+SetEndOfFile is better.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

.



Relevant Pages

  • Re: Pen Drive Initialization
    ... It must have the valid filesystem metadata with 100% of data space marked ... >> Maxim Shatskih, Windows DDK MVP ... >>> When I do that, windows keeps repeating the reading commands, and there ...
    (microsoft.public.development.device.drivers)
  • Re: How does PC know what kind of file system the mass storage device has?
    ... It reads the important sector locations from the disk and tries to recognize ... the filesystem. ... Maxim Shatskih, Windows DDK MVP ...
    (comp.os.linux.embedded)
  • Re: Replacing MdlAddress of an IRP. Can we do that?
    ... If the partial MDL was built - then a master MDL which was used as a base ... Maxim Shatskih, Windows DDK MVP ... Apparently I have to use a IoBuildPartialMdl (PreviousMdl, SwapMdl, ...
    (microsoft.public.development.device.drivers)
  • Re: Accessing the adapter context in an NDIS driver
    ... >> Maxim Shatskih, Windows DDK MVP ... >> StorageCraft Corporation ... >>> I don't know how to get to my adapter context from my dispatch routine, ...
    (microsoft.public.development.device.drivers)
  • Re: USBSTOR.SYS
    ... > interpret certain sectors. ... >>> Maxim Shatskih, Windows DDK MVP ... >>> StorageCraft Corporation ...
    (microsoft.public.development.device.drivers)