Index: fdisk.c =================================================================== RCS file: /home/ncvs/src/sbin/fdisk/fdisk.c,v retrieving revision 1.71 diff -u -r1.71 fdisk.c --- fdisk.c 3 May 2003 18:41:56 -0000 1.71 +++ fdisk.c 11 Nov 2003 08:38:09 -0000 @@ -1300,6 +1300,11 @@ if (start % dos_sectors == 0 && (start + size) % dos_sectors == 0) return (1); + if (start == 0) { + warnx("WARNING: partition overlaps with partition table"); + if (ok("Correct this automatically?")) + start = dos_sectors; + } if (start % dos_sectors != 0) warnx("WARNING: partition does not start on a head boundary"); if ((start +size) % dos_sectors != 0)