Subject: Re: bin/33633: /sbin/fdisk does not work
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Yoshito Komatsu <ykomatsu@akaumigame.org>
List: netbsd-bugs
Date: 06/03/2006 23:30:02
The following reply was made to PR bin/33633; it has been noted by GNATS.
From: Yoshito Komatsu <ykomatsu@akaumigame.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/33633: /sbin/fdisk does not work
Date: Sun, 04 Jun 2006 08:25:16 +0900
David Laight wrote:
> The only partition entry is:
>
> > 01be 80 01 01 00 a9 b2 ff ff 3f 00 00 00 41 63 38 1d
>
> Which (as usual) starts at sector 63 and is cylinder 0, head 1, sector 1
> as expected. This is enough to determine the 'sectors per track' [1], but
> since the end (0x3f + 0x1d386342) is beyond the CHS limit is isn't
> possible to determine the number of heads (and hence cylinders).
>
> At most fdisk should warn about this - so christos change is ok...
I understand.
fdisk.c revision 1.101 works for me.
Thank you.