Setting up ramdisk with dosfs

Thomas Doerfler Thomas.Doerfler at imd-systems.de
Tue Nov 9 15:47:58 UTC 2004


Hi,

AFAIK the ramdisk would work fine with the MSDOS 
filesystem, but it is not formatted :-(

I am currently developing a msdos_format function 
which should solve this problem.

> 
> Hi.
> 
> I want to use the ramdisk with dosfs but has some problems. 
> 
> I am running on a sun solaris with target ERC32. Using TSIM as simulator.
> Want to modify the fileio sample to use ramdisk instead of ata. 
> 
> My questions are:
> 
> What should I initialize? (I added RAMDISK_TABLE_ENTRY to the Device table
> and this seems to work fine.)
> I am trying to run rtems_ide_part_table_initialize(dev) but it returns '25'
> and 'not a char device' (the ramdisk is accessed). Must I use ide_part?
> I really could use a step by step instruction how to init and mount a
> ramdisk and use msdos with it.
> 
> Any information would be greatly appreciated.
> 
> Regards
> Daniel Gustavsson
> 

--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
systems.de/pgp_keys.htm




More information about the users mailing list