[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lstat: Value too large...
From: |
Mark . Burgess |
Subject: |
Re: lstat: Value too large... |
Date: |
Tue, 26 Nov 2002 21:02:50 +0100 (MET) |
On 26 Nov, Darren Dunham wrote:
>> > cfengine:annorax: RecursiveCheck was looking at
>> > /sse/annorax/knf/nervus/4663/pts0/nrva0000.avi when this
>> > happened:
>> > cfengine:annorax: lstat: Value too large for defined data type
>
> What OS was this?
>
>> This message comes from the OS. Looks like a filesystem
>> limitation, not a cfengine one.
>
> Sorta. This appears to be a "large file" (bigger than 2G). lstat() was
> passed the filename, but lstat will fail on such a file. 'truss' could
> be used to confirm that. This limitation is there because regardless of
> the OS and filesystems, old code would not be able to handle the return
> values from such files.
>
> If this is Solaris, I would assume that this binary was not compiled in
> the large file compilation environment. I don't know if cfengine
> attempts to do that or not.
>
>
I think it depends on whether the 64 bit OS is installed.
The datastructures are not large enough in the 32bit OS
to handle this. I don't think it matters whether it is stat
or lstat, if that's what you mean. Either way, cfengine
cannot do much about this...
M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~