Re: gpart

From: Takahashi Yoshihiro <nyan_at_jp.FreeBSD.org>
Date: Mon, 05 Jan 2009 20:59:12 +0900 (JST)
In article <8BF346D6-B7EB-4FFC-9216-FEFCABBDADB8_at_mac.com>
Marcel Moolenaar <xcllnt_at_mac.com> writes:

> I think the problem is with the perceived geometry.
> If you boot verbose with GEOM_PC98, do you see that
> the fwsectors/fwheads are being guessed? If not, can
> you tell me what the fwsectors and fwheads values
> are?

The value of the fwheads and fwsectors are:
g_pc98_taste(PC98,da0): 8 heads / 128 sectors


> With GEOM_PART_PC98, can you run:
> 	gpart list da0

The result is:

Geom name: da0
fwheads: 255
fwsectors: 63
last: 40017914
first: 16065
entries: 16
scheme: PC98
Providers:
1. Name: da0s1
   Mediasize: 321542645760 (299G)
   Sectorsize: 512
   Mode: r0w0e0
   rawtype: 17428
   attrib: active
   attrib: bootable
   label: FreeBSD
   length: 321542645760
   offset: 8225280
   type: freebsd
   index: 1
Consumers:
1. Name: da0
   Mediasize: 20496236544 (19G)
   Sectorsize: 512
   Mode: r0w0e0

---
TAKAHASHI Yoshihiro <nyan_at_jp.FreeBSD.org>
Received on Mon Jan 05 2009 - 10:59:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC