Re: S_dosFsLib_ROOT_DIR_FULL error while fopen'ing a file in VxWorks 6.5



On Jan 19, 11:06 pm, nobody <nob...@xxxxxxxxxxx> wrote:
On 01/19/2010 05:16 AM, Prashant wrote:

Hi,

fopen() on a file is failing with S_dosFsLib_ROOT_DIR_FUL error. I
verified that there is enough space for the file to be created. I am
creating a file in "/myDir" dir. Any clue as to what this error
indicate? What is "root" dir and how can i verify if it is full or
not ?

A FAT filesystem is created with a fixed size root directory.  Looks
like you've already verified that it is full :)  I believe the argument
structure for the format operation handles changing the root directory
size.

Oh, the root directory is the first directory under the mount point.

Mark

Thanks Mark!

Could you tell me the function to change the root-dir size? Google
didn't help much.

Thanks!
.



Relevant Pages