[Gambas-user] fastest way to "zero-out" a huge binary file
Olivier Cruilles
linuxos at ...1896...
Mon Jan 25 19:53:10 CET 2010
Hi,
It's possible to create a file with only zero inside simply by this command if you want:
dd if=/dev/zero of=file_to_create bs=1k count=8388608
Olivier Cruilles
Mail: linuxos at ...1896...
Le 25 janv. 2010 à 10:47, Doriano Blengino a écrit :
>
> Doriano Blengino ha scritto:
>>
>> The subroutine could look something like this:
>>
>> sub square_diamond(left, right, top, bottom as integer)
>>
>> step = (right+left) / 2
>>
>
> SORRY: step = (right - left) / 2
>
> Urgh...
>
> Regards,
> Doriano
>
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
Olivier Cruilles
Mail: linuxos at ...1896...
More information about the User
mailing list