replace original parted parsing code with a call to parse_parted()