[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help: Creating a file...



Hi all,

Victor V. Vengerov wrote:
> Alex,
> 
> Alex wrote:
> 
>> Hi all,
>>
>> I still cant create a file using rtems i386 686 bsp, linux :-(
>> Does rtems has any default file system ?
>>
> Yes, it is IMFS - "In-Memory File System". It is not persistent, of course.
> 
>> The code works well but I cant see the file :-(
>>
>> I want to do the folowing:
>> I try the rtems program using a floppy disk, and grup booting.
>>
> No floppy disk driver available. Only ATA driver exists now.

I believe a floppy disk driver exists but not included into current 
RTEMS source tree. Hopefully it might be found in contrib directory on 
the RTEMS ftp site or elsewhere - please try to check mail list archive.

> 
>> I want to create a file in that floppy disk when I execute the rtems 
>> program, is this possible?
>>
> You need to develop floppy driver to do that. :-(
> 
>> Do I need any extra tool?
>> Any tips? advices? Source code?
>>
>>
>> Please see the source code i am using (from rtems samples):
>> The code work well, but where are the file?
>>
> File created in IMFS, and disappeared when RTEMS application exitted.
> 
> Victor
> 
>