35c35
< * $FreeBSD: head/sys/geom/geom_disk.c 105542 2002-10-20 19:18:07Z phk $
---
> * $FreeBSD: head/sys/geom/geom_disk.c 105551 2002-10-20 20:28:24Z phk $
91a92,93
> pp->mediasize = dp->d_mediasize;
> pp->sectorsize = dp->d_sectorsize;
101,102d102
< pp->mediasize = dp->d_mediasize;
< pp->sectorsize = dp->d_sectorsize;
169c169
< if (g_handleattr_int(bp, "GEOM::sectorsize", dp->d_sectorsize))
---
> if (g_handleattr_int(bp, "GEOM::fwsectors", dp->d_fwsectors))
171,172d170
< else if (g_handleattr_int(bp, "GEOM::fwsectors", dp->d_fwsectors))
< break;
175,176d172
< else if (g_handleattr_off_t(bp, "GEOM::mediasize", dp->d_mediasize))
< break;
238a235,236
> pp->mediasize = dev->si_disk->d_mediasize;
> pp->sectorsize = dev->si_disk->d_sectorsize;
< * $FreeBSD: head/sys/geom/geom_disk.c 105542 2002-10-20 19:18:07Z phk $
---
> * $FreeBSD: head/sys/geom/geom_disk.c 105551 2002-10-20 20:28:24Z phk $
91a92,93
> pp->mediasize = dp->d_mediasize;
> pp->sectorsize = dp->d_sectorsize;
101,102d102
< pp->mediasize = dp->d_mediasize;
< pp->sectorsize = dp->d_sectorsize;
169c169
< if (g_handleattr_int(bp, "GEOM::sectorsize", dp->d_sectorsize))
---
> if (g_handleattr_int(bp, "GEOM::fwsectors", dp->d_fwsectors))
171,172d170
< else if (g_handleattr_int(bp, "GEOM::fwsectors", dp->d_fwsectors))
< break;
175,176d172
< else if (g_handleattr_off_t(bp, "GEOM::mediasize", dp->d_mediasize))
< break;
238a235,236
> pp->mediasize = dev->si_disk->d_mediasize;
> pp->sectorsize = dev->si_disk->d_sectorsize;