Re: [Yaffs] Query - Interface between YAFF and SD card ?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: Peter Barada
Subject: Re: [Yaffs] Query - Interface between YAFF and SD card ?
On Tuesday 30 September 2008 06:41:03 Yogesh Gaur wrote:
> This means we are supporting two separate file system on our embedded
> device, one (YAFF/JFFS) for read/write operation on flash and other (FAT)
> to have read/write operation on the SD/MMC card i.e multi media operations.
>
> If yes, then for the user space application is not it confusing to have two
> separate read/write calls api ?


Is this a Linux embedded system? If so then there's a huge part of the Linux
kernel called the VFS that handles all the different file systems etc.

When you mount a new file system you give it a mount point, type etc. When you
access files on that mount point then the appropriate file system calls are
made.


>
> --
> Gaur
>
> On Mon, Sep 29, 2008 at 11:33 AM, Peter Barada <> wrote:
> > On Mon, 2008-09-29 at 11:26 -0700, Yogesh Gaur wrote:
> >
> > Hello everybody,
> >
> > I am new to this group and have just start to look the yaff code and
> > docs, I have some of the basic doubts about the whole system on which
> > Linux YAFF running.
> >
> > As last week Google phone has been launched with lot of fanfare, it has
> > linux as it's OS, my doubt is if my phone is supporting the SD card
> > (which it of course does) then how the linux able to read/write to the SD
> > card as generally SD card have been formatted in the FAT filesystem (my
> > assumption in thinking that most of the users would transfer the media
> > files from their to the windows PC's).
> >
> > What is the interface in between the YAFF file system and the SD driver
> > through which file system is able to detect the SD card and do
> > corresponding operation of read/write?
> >
> >
> > None. The SD card driver presents block calls to the FAT filesystem code.
> > As such YAFFS is not involved.
> >
> > Sorry for asking this basic question but just due to curiosity I am
> > asking this.
> >
> > Thanks,
> > Gaur
> >
> > _______________________________________________yaffs mailing
> > http://lists.aleph1.co.uk/cgi-bin/mailman/lis
> >tinfo/yaffs
> >
> > --
> > Peter Barada <>