On Wed, Jun 3, 2015 at 11:45 PM, Maciej Żenczykowski <[email protected]
> wrote:

> 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...
>
>
Thanks Maciej,

1) the output of fdisk and df should be self-explanatory here

root@OpenWrt-3:~# fdisk -lu /dev/sda

Disk /dev/sda: 14.9 GiB, 16008609792 bytes, 31266816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe4c8c953

Device    Boot     Start       End   Blocks  Id System
/dev/sda1           2048   4194304  2096128+ 82 Linux swap / Solaris
/dev/sda2        4194305  31266815 13536255+ 83 Linux

root@OpenWrt-3:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                13192524     49116  12450212   0% /
/dev/root                 2560      2560         0 100% /rom
tmpfs                    14572       584     13988   4% /tmp
/dev/sda2             13192524     49116  12450212   0% /
tmpfs                      512         0       512   0% /dev
root@OpenWrt-3:~#

2) since I've started ti use this configuration wit hthe usb I'm able to
install many more packages, so indeed the USB key is being used. I'll do a
test with another device because I'd rather avoid to play with working ones.

Thanks again, Alex
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to