Formatting DOSFS volume

Etienne Fortin etienne.fortin at
Thu Oct 14 12:59:40 UTC 2004

Hi Bogdan,
Yeah, it would be great to collaborate on that. I was out for the last
two days but now I'll start working on that. Do you have the code you
were talking about?

Question: Should the code be put in libfs/src/dosfs OR as a little
librarie that you link with RTEMS?

Have a nice day.


-----Message d'origine-----
De : Bogdan Vacaliuc [mailto:bvacaliuc at] 
Envoyé : 12 octobre, 2004 13:20
À : 'Thomas Doerfler'; 'Eugeny S. Mints'; 'Etienne Fortin'
Objet : RE: RE : Formatting DOSFS volume

Greetings Everyone,

I was on vacation until today, so am joining you all a bit late.

I have code and some resources for a FAT12/FAT16 format but it is not
under RTEMS.  I also plan to port this code into RTEMS for my project in
approximately the same time frame as Thomas.

Shall we collaborate?  I also have a MIPS-based CSB350 which can be used
to carry out tests.

To start with, here are some references:

My code is based on Philip Erdelsky's "Reentrant DOS Compatible File
System v2.0":

I have extended it in the following ways:

+ Extended FAT16 support to 2GB
+ Implemented dynamic BPB parameter generation based on Microsoft's 
+ specifications. Implemented bad sector detection and mapping (useful 
+ for NAND flash).

Let me know if you are interested in code snippets from my project (It
wont use RTEMS function calls, but RDCF2 function calls, etc.).

Also, what RTEMS distribution are you all working off of?  (Probably the
CVS tree-right?  I have been working with the official 4.6.1 patched
with the CSB350 BSP from Jay.

Best Regards,


On Friday, October 08, 2004 12:46 PM, Thomas Doerfler wrote:

> Hi,
> so now we are two volunteers :-) Actually I have
> already been contracted by a customer to create a 
> partitioner/formatter for DOSFS, and it is in my schedule for the next

> four weeks to implement it :-)
> Etienne, what are your schedule plans about it?
> wkr,
> Thomas.
>> Great!:)
>> But probably it's a good idea to get at least one more feedback since

>> there is a little chance I missed something and somebody has already 
>> done a tool for DOSFS formatting. But most porbably if does not 
>> exist.
>> Etienne Fortin wrote:
>>> That's exactly what I'm intending to do ;)
>>> Etienne
>>> -----Message d'origine-----
>>> De : Eugeny S. Mints [mailto:emints at]
>>> Envoyé : 8 octobre, 2004 10:04
>>> À : Etienne Fortin
>>> Cc : rtems-users at
>>> Objet : Re: Formatting DOSFS volume
>>> Hi Etienne,
>>> Unfortunately there is no yet:(
>>> You are welcome to implement:)
>>> 			Eugeny Mints
>>> Etienne Fortin wrote:
>>>> Hi,
>>>> Is there any utility or code snippet out there for RTEMS that can 
>>>> be used to format a volume in the DOSFS file system? Or is there 
>>>> anything
>>>> built-in to RTEMS that does just that?
>>>> Thanks,
>>>> Etienne Fortin
>>>> Sensio
> --------------------------------------------
> IMD Ingenieurbuero fuer Microcomputertechnik
> Thomas Doerfler           Herbststrasse 8
> D-82178 Puchheim          Germany
> email:    Thomas.Doerfler at
> PGP public key available at: http://www.imd-

More information about the users mailing list