Various FreeBSD fixes submitted Bernhard Froehlich
E_IMPL => VERR_NOT_IMPLEMENTED
Main/Metrics: handle less common cases for FS to disk resolution (#6345)
header (C) fixes
Main/FreeBSD: Fix
Main: source re-org.