def parse_drive_size(line):
    """Parses a drive line in the partition information file.
    """
    parts = line.split(":")
    if len(parts) != 2 or parts[0] != "drive":
        raise ValueError("Drive size line format is 'drive:<size>'")
    return parts[1]