9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fdisk fix
@ 2000-11-05 12:51 Micah Stetson
  0 siblings, 0 replies; only message in thread
From: Micah Stetson @ 2000-11-05 12:51 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-05 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-05 12:51 [9fans] fdisk fix Micah Stetson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).