cat /etc/config/fstab when running on original drive
root@OpenWrt:/etc/config# cat fstab
config global
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config mount
option target '/overlay'
option uuid '62b8bc5a-ab5b-4ecc-95f0-247758046964'
option enabled '1'
config mount
option target '/mnt/sda2'
option uuid '671198b5-6458-4af0-8133-e4667e06a897'
option enabled '0'
config swap
option uuid 'a58d61c8-dc9b-483f-927e-a9cc7bb84ddc'
option enabled '0'
config mount
option target '/mnt/sda4'
option uuid '02501e2d-5f01-4b9d-8f60-f4d414d5bacd'
option enabled '1'
config mount 'rwm'
option device '/dev/ubi0_1'
option target '/rwm'
#config mount 'overlay'
# option target '/overlay'
cat /etc/config/fstab when running on USB drive
root@OpenWrt:/mnt/upper/etc/config# cat fstab
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config 'mount'
option target '/overlay'
option uuid '62b8bc5a-ab5b-4ecc-95f0-247758046964'
option enabled '0'
config 'mount'
option target '/mnt/sda2'
option uuid '671198b5-6458-4af0-8133-e4667e06a897'
option enabled '0'
config 'swap'
option uuid 'a58d61c8-dc9b-483f-927e-a9cc7bb84ddc'
option enabled '0'
config 'mount'
option target '/mnt/sda4'
option uuid '02501e2d-5f01-4b9d-8f60-f4d414d5bacd'
option enabled '1'
df on original:
root@OpenWrt:/etc/config# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2304 2304 0 100% /rom
tmpfs 255972 96 255876 0% /tmp
/dev/ubi0_1 24540 1836 21416 8% /overlay
overlayfs:/overlay 24540 1836 21416 8% /
ubi1:syscfg 30276 284 28412 1% /tmp/syscfg
tmpfs 512 0 512 0% /dev
df: /mnt/sda4: No such file or directory
/dev/sda1 10255636 96660 9618304 1% /mnt
root@OpenWrt:/etc/config#
Also,I just noticed:
root@OpenWrt:/etc/config# ls /overlay/work/work/
Is it supposed to be work AND work?
Thank you.