Thanx everybody !!!!

michael your answer seems logical too

Interesting enough the file created by syswrite is

2147483647 ..do we have any way around this using perl..so that we get
bigger file i mean up to 4gb
as i had 5Gb space on sun machine with version 5.8...i got a file with 2G
although i can create a copy of it using

cp aa bb  if aa is file with 2G

still i have 1G left :)

or its the limitation on perl with version 5.005_03 that one can overcome

thanx once again

regards
manish tiwari

----- Original Message -----
From: "Michael Fowler" <[EMAIL PROTECTED]>
To: "Manish Tiwari" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 4:06 PM
Subject: Re: syswrite issue


> On Thu, May 31, 2001 at 02:23:42PM -0700, Manish Tiwari wrote:
> > how big a file can be created using syswrite ..it fails generally over
2G
>
> It depends on restrictions imposed by your OS, filesystem, and the
> underlying C libraries Perl uses.
>
> You're probably hitting a 2G limit because of the data type used to hold
the
> file's size; the positive limit of a 4 byte signed value is 2147483648, or
> 2G.
>
>
> Michael
> --
> Administrator                      www.shoebox.net
> Programmer, System Administrator   www.gallanttech.com
> --
>

Reply via email to