DOSFS bug fixes, IDE drivers and sample released

Brett Swimley brett.swimley at
Fri Apr 18 14:37:52 UTC 2003

Quoting Angelo Fraietta <angelo_f at>:

> >Since no one else has offered any...
> >Requiring explicit synchronization is fairly standard behavior, I see no
> >reason to modify close().  I think some people get caught off guard
> >because Microsoft DOS did not seem to have a filesystem cache, and even
> >today Windows operating systems seem to always flush operations to floppy
> >disks.  Of course if you power down a machine immediately after a write()
> >call you will often see disk corruption, so either part of the Microsoft
> >filesystem layer or the Microsoft applications treat floppy disks
> >differently than non-removeable disks.  Anyone used to working on POSIX
> >style operating systems is of course accustomed to mounting and unmounting
> >disks, so I don't think it will be a surprise.

I haven't found an explicit sync() function in RTEMS. Would it be reasonable to
add this function to periodically allow a task (perhaps the idle task) to
perform     file system synchronization?

> Is there an unmount? I think I asked about this and was told there was
> not an unmount.

There is an unmount.  I _believe_ that it does flush the cache.  I'll be
performing some tests with this shortly

> --
> Angelo Fraietta
> PO Box 859
> Hamilton NSW 2303
> Home Page
> There are those who seek knowledge for the sake of knowledge - that is
> There are those who seek knowledge to be known by others - that is VANITY
> There are those who seek knowledge in order to serve - that is LOVE
>     Bernard of Clairvaux (1090 - 1153)

Brett Swimley
Advanced Electronic Designs
406-585-8892 / 406-585-8893 (fax)
brett.swimley at

More information about the users mailing list