Re: [Yaffs] Access to files on a YAFFS2 image

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Access to files on a YAFFS2 image
On Thursday 03 December 2009 02:41:39 McCash John-GKJN37 wrote:
> Laurie,
>     Apologies for my ignorance in this area, but I'm looking at it
> from more of an OS perspective, and don't delve into the actual program
> APIs any more than I absolutely must. My background has much more system
> administration in it than it does software development. I've seen the
> yaffs direct user guide you referenced, and it seems to me (with
> apologies to the author) to be a very opaque document... I've read the
> first half of it several times, and I'm still not entirely sure what
> yaffs direct is, in terms of its actual implementation.


yaffs direct is a library that allows you to use yaffs without any specific
OS. This primarily allows yaffs to be used in an embedded device without
Linux. yaffs direct can also be run in a user-space application. That is
potentially a better environment for inspecting images than doing so in a the
OS.

>
>     My need is really for OS level tools to manipulate the
> filesystems and images, and the details of their usage, rather than low
> level descriptions of program APIs for doing the same thing. Do such
> tools exist for yaffs direct?


It really depends on what degree of tools you need. Certain information is
available via /proc/yaffs.

Loading an image into yaffs direct allows you to inspect far more that the
OS-level access supplies since there are no standard OS calls to extract much
of this imnformation.

Regards

Charles

>
>         Thanks
>             John

>
> -----Original Message-----
> From: Laurie van Someren [mailto:laurie@aleph1.co.uk]
> Sent: Wednesday, December 02, 2009 7:21 AM
> To: McCash John-GKJN37
> Cc: Charles Manning;
> Subject: Re: [Yaffs] Access to files on a YAFFS2 image
>
> John,
> YAFFS Direct is the 'kernel' or heart of YAFFS. http://www.yaffs.net
> has a lot of documentation including the YAFFS Direct User Guide as .pdf
>
> I suggest you take a look at the range there is there.
>
> LvS
>
> On Wed, 2009-12-02 at 08:14 -0500, McCash John-GKJN37 wrote:
> > Charles,
> >     That sounds interesting, but I have no idea what you mean by
> > "yaffs direct" or nand-on-file emulation. (though I'm looking through
> > Google now, and I do see some references to "yaffs direct") Can you
> > provide a link to documentation for mounting using this technique?
> >         Thanks
> >             John

>
> .
> .
> .
>
>
> _______________________________________________
> yaffs mailing list
>
> http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs