Use temp file for partition table