comment out bogus attempt to zero first byte after map on disk

This commit is contained in:
dbj 2003-04-22 18:19:39 +00:00
parent 77500fa37f
commit 8ce174cfdf
1 changed files with 4 additions and 0 deletions

View File

@ -345,6 +345,8 @@ write_partition_map(partition_map_header *map)
error(errno, "Unable to write block %d", i);
}
}
#ifdef __linux__
// zap the block after the map (if possible) to get around a bug.
if (map->maximum_in_map > 0 && i < map->maximum_in_map) {
i += 1;
@ -357,6 +359,8 @@ write_partition_map(partition_map_header *map)
free(block);
}
}
#endif
if (interactive)
printf("The partition table has been altered!\n\n");