Subject: Re: gpt on NetBSD_4.0BETA2
To: Andreas Wrede <andreas@planix.com>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: current-users
Date: 07/20/2007 17:56:00
--MfFXiAuoTsnnDAfZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 20, 2007 at 05:23:19PM -0400, Andreas Wrede wrote:
>  I am trying to use gpt to create a GUID partition table on a 3TB Xserve=
=20
>  RAID:
>=20
>  # gpt create /dev/sd0d
>  gpt: unable to open device 'sd0d': Invalid argument
>=20
>  I assume this because in sys/dev/scsipi/sd.c does not set the properties=
=2E =20
>  In -current, rev 1.260 of sd.c adds sd_set_properties().  (4.0BETA's sd.=
c is=20
>  at rev 1.258).
>=20
>  Is that all that's needed to get gpt to work on sd(4) type devices? If s=
o,=20
>  maybe that change can be pulled up to the 4.0 branch?

Yes, a backport is trivial, I've actually done it.  I don't see why it coul=
dn't
go into netbsd-4.

Also, you may want the appropriate gpt stuff for dk in the kernel:

options DKWEDGE_AUTODISCOVER
options DKWEDGE_METHOD_GPT

	Jonathan Kollasch

--MfFXiAuoTsnnDAfZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFGoT2AOjx1ye3hmokRAid1AJ9fb/XZ4k6TjVP6dTidfJJHq6AkMACePK0r
19C9wlPIUk8yj8zEi1+/K4E=
=njO+
-----END PGP SIGNATURE-----

--MfFXiAuoTsnnDAfZ--