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

Re: Reading JFFS2 from outside of Linux




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



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