On Wed, 12 Mar 2008, Harald Schiƶberg wrote:

>
> >   but am i allowed to manually mess around under /jffs?
>
> i don't know whether you are allowed, but I did so several times :-)
>
>
> > say i create
> > a new file in the root fs -- it will simultaneously show up under
> > /jffs, of course.  but can i delete it from under /jffs if i decided i
> > didn't want it anymore?  would that make it vanish from under the root
> > filesystem?  it would be easy to test, but i'd rather not try it in
> > case it causes some kind of weird, underlying filesystem corruption
> > because i did something i shouldn't have.
> >
> >   and the same question with modifying existing files.  if i change a
> > file that's already in squashfs, it's new version will end up in
> > /jffs.  so could i delete that /jffs file to recover the original file
> > as it exists in squashfs?  thanks.
>
> yup, e.g. deleting all files in /jffs  will restore the state just after
> initial flashing of the device :)

ok, thanks for the clarification.  i had *assumed* as much but since i
know nothing about the implementation of mini_fo, i had no idea if
there was some sort of underlying synchronization mechanism that
validated the new content against the original content and might treat
manually manipulating files under /jffs as corruption of some kind.

> btw: the squashfs rootfs shows up under /rom

yup, i already knew that, thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to