[Glass] How to create an "empty" file (each byte content = 0) with a specific size (very large) very fast ?

Martin McClure martin.mcclure at gemtalksystems.com
Mon Jun 22 09:21:00 PDT 2020


Hi Marten,

On Linux, the command "fallocate" does this quite nicely. If you want to 
do it from within Smalltalk, I'd think that invoking fallocate using 
#performOnServer: would work.

Regards,
-Martin

On 6/22/20 7:05 AM, Marten Feldtmann via Glass wrote:
> Does anyone know how to do this ?
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gemtalksystems.com/mailman/private/glass/attachments/20200622/029e746e/attachment.htm>


More information about the Glass mailing list