libfstools: add support for EroFS based images
authorGao Xiang <[email protected]>
Fri, 27 Jun 2025 01:59:44 +0000 (09:59 +0800)
committerChristian Marangi <[email protected]>
Sat, 5 Jul 2025 13:17:57 +0000 (15:17 +0200)
commite8cd820cdbb8fba990fd79efda90c5dc10d8e45c
treee0f4b73e1c31bc60f43cc695d4173299920e3769
parent49d36ba2d1ada4ca177612cfbe904beb286dcab7
libfstools: add support for EroFS based images

Add support to libfstools to parse and support EroFS based images to
permit correct mounting of OverlayFS with it. (in addition to SquashFS
support)

While at it rework the code to better handle the 2 different filesystem
introducing a similar pattern.

Signed-off-by: Gao Xiang <[email protected]>
Co-Developed-by: Christian Marangi <[email protected]>
Signed-off-by: Christian Marangi <[email protected]>
libfstools/rootdisk.c