Kadaitcha Man wrote:
> 
> In a terminal, type:
> 
> info coreutils 'dd'
> 
> You only need create the file once, then copy it whenever you need to
> during testing. If you really must create the file every time, let dd
> do it by using Gambas' Exec command.
> 

Excellent, thanks. I seem to have found something horrifying while trying to
create the file using GAMBAS however; using the SEEK statement with an
argument greater than 2 GB raises a "Bad argument" error. While that doesn't
affect my ability to create the file, it kills me later when trying to read
and write to it. Other than using a different version of GAMBAS all I can
think to do is to create four 2 GB data files, which will create additional
overhead in the read/write procedures that access the file. Actually since
my file is slightly larger than 8 GB I'll need to create five separate
files. :(

-----
Kevin Fishburne, Eight Virtues
www:  http://sales.eightvirtues.com http://sales.eightvirtues.com 
e-mail:  mailto:sa...@eightvirtues.com sa...@eightvirtues.com 
phone: (770) 853-6271
-- 
View this message in context: 
http://old.nabble.com/fastest-way-to-%22zero-out%22-a-huge-binary-file-tp27290885p27292295.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to