Subject: gpt on NetBSD_4.0BETA2
To: NetBSD current-users <current-users@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 07/20/2007 17:23:19
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-1-500969699
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

I am trying to use gpt to create a GUID partition table on a 3TB  
Xserve RAID:

# gpt create /dev/sd0d
gpt: unable to open device 'sd0d': Invalid argument

I assume this because in sys/dev/scsipi/sd.c does not set the  
properties.  In -current, rev 1.260 of sd.c adds sd_set_properties 
().  (4.0BETA's sd.c is at rev 1.258).

Is that all that's needed to get gpt to work on sd(4) type devices?  
If so, maybe that change can be pulled up to the 4.0 branch?

-- 
     aew


--Apple-Mail-1-500969699
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFGoSfKEh/h9J/TQyERAqFCAJ0Uyn6zUVXatEOEIiHvdQOU9vvSwACfR/ez
rKzjM+Jx4Egk+daBpbKZY6k=
=pa6y
-----END PGP SIGNATURE-----

--Apple-Mail-1-500969699--