This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RAMFS error code.
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Vincent Catros <Vincent dot Catros at elios-informatique dot fr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 24 Feb 2004 18:44:28 +0000
- Subject: Re: [ECOS] RAMFS error code.
- References: <002501c3fade$e3aa2c10$7407a8c0@figuier>
Vincent Catros wrote:
Hello,
Whith RAMFS a file is made of a limited number of blocks.
This can result in a full file before the file system is.
Nothing wrong with that.
But, when facing this situation, returned code is EINVAL (see ramfs.c
function findbuffer_node).
I was waiting for ENOSPC.
Am I wrong?
Looking at ramfs.c, it appears to return ENOSPC. Where is the EINVAL you
are referring to?
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
>>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss