RFS Write bug

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 6 12:23:22 UTC 2014



On October 6, 2014 3:41:18 AM CDT, "박형식" <hspark at satreci.com> wrote:
>Hi~
>
> 
>
>I use rtems 4.10 and rtems file system(RFS) and I find a bug or error.
>
> 
>
>I write data into some file periodically. But after file system format,
>file write does not occur error.
>
> 
>
>A File does not create and any error messages not appear. Write()
>returns correct value(written data size).
>
> 
>
>In my opinion, file write operation should be occur error(ENOFILE)
>after file system format because file is deleted(not exist).
>

Are you keeping file descriptors open while the reformatting is performed? Or are you closing all files and then reformatting?

--joel


> 
>
>Please check this problem.
>
> 
>
>Best Regards,
>
> 
>
> 
>
> 
>
>------------------------------------------------------
>
>Hyoungsic Park
>
>Senior Research Engineer
>
>Flight Software Team
>
>Satrec Initiative
>
>461-26 Jeonmin-Dong, Yu-seong Gu
>
>Daejeon 305-811 Republic of Korea
>
>Tel) +82-42-365-7499
>
>hspark at satreci.com
>
>http://www.satreci.com
>
>------------------------------------------------------
>
> 




More information about the users mailing list