From: bigbrownbeastie on
On Feb 24, 6:12 am, "Jalon" <jpeeyush(a)n_o_s_p_a_m.gmail.com> wrote:
> Hi,
>
> I have this question in mind, Why do we need a file system as part of any
> RTOS when it is intended for a target embedded device(Low memory and less
> storage of data).
> I can imagine a system having lots of data managed in terms of files in
> need of File system but probably not many embedded devices store that
> amount of data.
>
> Is there a particular need/scenario which makes file system required in an
> embedded system.
>
> Thnx,
> PJ        
>
> ---------------------------------------        
> Posted throughhttp://www.EmbeddedRelated.com

Sounds like Homework
From: Paul Keinanen on
On Wed, 24 Feb 2010 00:12:25 -0600, "Jalon"
<jpeeyush(a)n_o_s_p_a_m.gmail.com> wrote:

>Hi,
>
>I have this question in mind, Why do we need a file system as part of any
>RTOS when it is intended for a target embedded device(Low memory and less
>storage of data).
>I can imagine a system having lots of data managed in terms of files in
>need of File system but probably not many embedded devices store that
>amount of data.
>
>Is there a particular need/scenario which makes file system required in an
>embedded system.

Most real time programmers would like to stay away from any kinds of
mechanical disk drives if possible and hence there is not much of a
need for a file system.

In many RT systems, disk/flash file systems might be usable in the
startup phase to load parameters etc, before the actual RT work
starts.

The null task is also a usable place in doing non-deterministic
disk-I/O.

In actual RT processing, you simply can not use blocking I/O requests
such as typical read/write, but use requests like "read sector 6 track
56", then perform dozens of other operations and at some later time
after hundred of other operations have been performed, handle the
callback or interrupt service routine that actually returned the
requested data.

While a file system might be usable for loading startup parameters
from a disk/flash and hence require a file system, those systems are a
nuisance for actual RT operations.

From: tim.... on

"Jalon" <jpeeyush(a)n_o_s_p_a_m.gmail.com> wrote in message
news:f8qdnfRgdKTUXhnWnZ2dnUVZ_q-dnZ2d(a)giganews.com...
> Hi,
>
> I have this question in mind, Why do we need a file system as part of any
> RTOS when it is intended for a target embedded device(Low memory and less
> storage of data).
> I can imagine a system having lots of data managed in terms of files in
> need of File system but probably not many embedded devices store that
> amount of data.
>
> Is there a particular need/scenario which makes file system required in an
> embedded system.
>

Any need for a file system will be imposed by the actual application, not by
the fact that the solution is "embedded" or that it uses an RTOS.

tim


From: Ignacio G. T. on
El 24/02/2010 7:12, Jalon escribi�:
> Hi,
>
> I have this question in mind, Why do we need a file system as part of any
> RTOS when it is intended for a target embedded device(Low memory and less
> storage of data).
> I can imagine a system having lots of data managed in terms of files in
> need of File system but probably not many embedded devices store that
> amount of data.
>
> Is there a particular need/scenario which makes file system required in an
> embedded system.
>

Third-party software with standard file-based dependencies (web servers,
PLC packages, SSL packages... to name a few I have met in real life.)

--
Saludos.
Ignacio G.T.

From: Grant Edwards on
On 2010-02-24, Jalon <jpeeyush(a)n_o_s_p_a_m.gmail.com> wrote:

> I have this question in mind, Why do we need a file system as part of any
> RTOS when it is intended for a target embedded device(Low memory and less
> storage of data).

You've made a false assumption that all embedded devices have
little low memory require little storage of data. Some
embedded devices have hundreds of megabytes of RAM and have to
log gigibytes of data from a variety of sources. Filesystems
are great for that.

--
Grant Edwards grante Yow! for ARTIFICIAL
at FLAVORING!!
visi.com
First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: USB Enumeration problem
Next: malloc/free algorithms