I think in this case it&#x27;s definitely the last one.  The C code is difficult to follow and harder to modify (see example link below).  The new code may be easier to follow.  Although I&#x27;m also aware that there&#x27;s a fixed amount of complexity in the problem, and there may not be any silver bullet.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;libguestfs&#x2F;libguestfs&#x2F;blob&#x2F;master&#x2F;src&#x2F;inspect-fs-unix.c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;libguestfs&#x2F;libguestfs&#x2F;blob&#x2F;master&#x2F;src&#x2F;ins...</a>