Hello.
I've a Tplink WDR4300 with a USB stick of 16GB. I'm using OpenWRT trunk
and block-mount. The /etc/config/fstab I'm using in the begining is
this one:
config global 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
config mount 'usb_overlay'
option target '/tmp/usb-overlay'
option device '/dev/sda1'
option fstype 'ext4'
option options 'rw,noatime,nodiratime'
option enabled_fsck '1'
option enabled '1'
config mount 'flash_overlay_inactive'
option target '/tmp/flash-overlay'
option device '/dev/mtdblock3'
option fstype 'jffs2'
option options 'rw,noatime'
option enabled_fsck '1'
option enabled '1'
With this config, the internal flash memory is used as overlay
(according to "mount"). I suppose it is the standard behavior since it
is not specified. The usb stick is mounted into /tmp/usb-overlay as
specified.
Then I change the usb_overlay target to "/overlay" (in both devices,
the usb and the internal flash) and reboot.
At the first reboot nothing changes, the internal flash memory is used
as overlay. But after perform a second reboot, the usb stick is mounted
as overlay (as the configuration specifies).
Does it make sense for anyone? Why do I need to reboot twice?
Thank you.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users