[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading JFFS2 from outside of Linux



David Woodhouse wrote:
> 
> justin.wojdacki@xxxxxxx.com said:
> > I'm in the process of implementing a JFFS2 reader as part of a
> > bootloader for some custom hardware that will be running (uC)Linux.
> > Can anyone shed some light on what needs to happen after
> > jffs2_read_super() is called? I know the filesystem heirarchy needs to
> > be built, but it's not clear from the code how that actually happens.
> >
> 
> You don't actually _need_ to build up the filesystem hierarchy; just look
> things up as you need them. Start at the root directory and lookup() as
> required. Take a look at the eCos/RedBoot JFFS2 package, for example.
> 
> --
> dwmw2

Sorry, I wasn't clear enough originally. What I need to be sure about
is how to mount the JFFS2 filesystem, so I can then do a lookup for
the kernel. Or, at least, all the code I've looked at so far suggests
that to me. 

I think I've figured most of it out at this point. 

--
-------------------------------------------------
Justin Wojdacki        
justin.wojdacki@xxxxxxx.com         (408) 350-5032
Communications Processors Group -- Analog Devices

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com