Formatting DOSFS volume

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Thu Oct 14 13:19:11 UTC 2004


Etienne Fortin wrote:
> 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?

I think it should be included as a separate file in libfs/src/dosfs.

I suspect that in practice, people will have some type of small
application that is a maintenance program to do system setup.
There is often some type of utility set for an application used by
manufacturing to prepare the base hardware platform and load the
real application.

Or at least a maintenance menu available from the application itself.


> Have a nice day.
> 
> Etienne
> Sensio
> 
> 
> -----Message d'origine-----
> De : Bogdan Vacaliuc [mailto:bvacaliuc at ngit.com] 
> 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:
> 
> http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923
> 143f3456c/fatgen103.pdf
> http://my.execpc.com/~geezer/osd/fs/
> 
> My code is based on Philip Erdelsky's "Reentrant DOS Compatible File
> System v2.0": http://alumnus.caltech.edu/~pje/rdcf2.txt
> 
> 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,
> 
> -bogdan
> 
> 
> 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 ru.mvista.com]
>>>>Envoyé : 8 octobre, 2004 10:04
>>>>À : Etienne Fortin
>>>>Cc : rtems-users at rtems.com
>>>>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 imd-systems.de
>>PGP public key available at: http://www.imd- systems.de/pgp_keys.htm
> 
> 
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list