> Why not have the implementation look at what's on the extroot device
> and if it's an overlay filesystem format then execute the overlay
> codepath(s) and otherwise assume it's a standalone filesystem and
> mount it and pivot_root to it.
I'm not sure there's a way to tell the difference: the overlay
filesystem always uses a standard filesystem (e.g. can be ext3), tho you
could try and detect the presence of the special meta-files that the
overlay system uses. I'm not sure it's worth the trouble: just like the
previous poster, "I've never seen a real reason why would this be
better" for extroot.
Stefan
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel