rpearce: Fix stub for kpartx, handle boolean values correctly for
resize.