9fans archive / 2000 / 11 / 59 /    prev next

From: Micah Stetson <micah@cnm...>
Subject: [9fans] fdisk.c
Date: Sun, 5 Nov 2000 02:06:04 -0800

While trying to hunt down a bug in fdisk (all of the
subpartitions in an extended partition are said to have the
same starting sector when they do not), I noticed some weird
things in the code.  Figuring it was either wrong or I
really had no clue after all, I compiled it.  I see
something like this:

term% cd /sys/src/cmd/disk
term% mk 8.fdisk
8c -FVw fdisk.c
8l  -o 8.fdisk fdisk.8
term% 8.fdisk
disk/fdisk [-p] prefix
term% 8.fdisk /dev/sdC0/data
prep: stating /dev/sdC0/datadisk: file does not exist
term%

Where might I find the current fdisk source?

Micah