I am using openwrt version 21_R4 I have the following fstab configuration /etc/config/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 '1'
config mount
option target '/overlay'
option uuid 'b5cf59a8-5f68-4146-b806-83b5c8b4709e'
option enabled '1'
option fstype 'ext4'
option device '/dev/sda1'
config swap
option device '/dev/sda2'
option enabled '1'
output of : blkid /dev/sda1 is:
/dev/sda1: UUID="b5cf59a8-5f68-4146-b806-83b5c8b4709e" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="29f9c1f3-1cd5-47e0-b3f9-28d327009a5c"
After reboot, I have the following mounted filesystems:
output of df command:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 5376 5376 0 100% /rom
tmpfs 61884 92 61792 0% /tmp
> /dev/mtdblock9 8128 408 7720 5% /overlay
overlayfs:/overlay 8128 408 7720 5% /
tmpfs 512 0 512 0% /dev
I was expecting to get : /dev/sda1 mounted on /overlay !
Any help is appreciated.
Thanks a lot.