Hello everyone,

I am trying to have a directory be used as Openwrt's overlay for the root file
system, through a bind mount. Were we to use a partition instead of a
directory, openwrt would find it and use it correctly. But since the partition
under which the directory is located is not mounted during preinit, the path
does not exist and thus openwrt disables the overlay.

So, my question is: Where exactly does OpenWRT "look" for the /overlay
device? How can I mount, say, /dev/sda2 onto /mnt so that /mnt/somedir
can be used as an /overlay device?

Of course, both /dev/sda2 and /overlay would have their entries on
/etc/config/fstab.

Any help or pointers will be greatly appreciated.

Thank you for your time.

-- 
Daniel Martí - [email protected] - GPG 0x58BF72C3

Attachment: pgp1iFRLJX7Mt.pgp
Description: PGP signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to