From mboxrd@z Thu Jan 1 00:00:00 1970 From: Micah Stetson To: 9fans@cse.psu.edu Subject: [9fans] fdisk fix Message-ID: <20001105045100.A5959@cnm-vra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Date: Sun, 5 Nov 2000 04:51:00 -0800 Topicbox-Message-UUID: 22324c7e-eac9-11e9-9e20-41e7f4b1d025 Well, having successfully located the source, here's the fix that makes fdisk read secondary partitions correctly. diff /sys/src/cmd/disk/prep/fdisk.c fdisk.c 384c384 < pp->secondary = mktab(table.entry[i], lba, base, i); --- > pp->secondary = mktab(table.entry[i], lba, lba, i); Now I can go to sleep happy. Micah