that command does not write to /mnt/flash

but to WriteFile

as your app gets started by a process run by init, the PWD will not be set.
so use an absolute path and the problem will dissapear into thin air



Quoting cchechio <[EMAIL PROTECTED]>:

>> Where are you writing the log file?
>
> i write at /mnt/flash/
>
>> and how do you write it?
>
> #define WriteFile "log.txt"
>
> double number;
> number = 187;
>
> FILE *fd;
> fd=fopen(WriteFile ,"w");
> fprintf(fd,"%g \n",number);
> fclose(fd);
>
>> You need to check if the filesystem for the partition where are
> you writing is already mounted.
>
> how ?
>
> many thanks
>
>



Reply via email to