RFS Write bug

박형식 hspark at satreci.com
Mon Oct 6 13:32:41 UTC 2014


Yes, I keep file descriptors while formatting. 



2014. 10. 6. 오후 9:23 Joel Sherrill <joel.sherrill at oarcorp.com> 작성:

> 
> 
>> 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