The root file system is an overlay of two filesystems.

A readonly, compressed, appended to the tail end of the kernel
filesystem with the userspace utilities and default configuration.
and
A readwrite, uncompressed, overlay.  This is where all writes end up
(copy on write semantics).

It's entirely possible for the overlay to be empty if nothing has been changed.


That said it is also possible that your router isn't using the USB key
at all, and all the configuration is sitting in an overlay stored
internally in the router's flash.


Edit some configuration file (add a comment), save it, sync, reboot
the router, check if the file is still modified, power off the router,
see if the file shows up on the USB key.

If not, it's not being used for the root overlay at all.
If so, it's working...



On Wed, Jun 3, 2015 at 11:20 PM, Alex Zetaeffesse <[email protected]> wrote:
> Hi all,
>
> I think I have a pivot root on my ASUS 500. I say I think because I fell
> into this problem.
>
> Given that regardless if I switch off the Asus abruptly OpenWRT comes up
> with no problem, if I disconnect the power cord and then I try to mount the
> external USN key on another system I see only lost+found. I go by heart
> because I haven't tried this out recently and bt that time I decided to live
> with that.
>
> Has anyone an explanation for it?
>
> Optionally, I can I assure that the USB key will be readable by another OS
> if for instance the router is not accessible. One example above all is if I
> misconfigure the network settings and I don't have the serial console.
> Wouldn't be possible to mount the USBkey somewhere else, modify the right
> files and then try again?
>
> I think I missing something obvious related to root overlay / root/pivot but
> I don't know where.
>
> Thanks in advance to who will shed light on this doubt of mine,
>
> Alex
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to