Subject: Re: loosing the firewire drive's disklabel on reboot
To: Joel CARNAT <joel@carnat.net>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 09/24/2007 20:45:30
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 03, 2007 at 10:48:50PM +0200, Joel CARNAT wrote:
> Hi,
>=20
> I have plugged a minipartner on my mini/G4 using firewire.
> ----
> ieee1394if0: New S400 device ID:00063a27000852fa
> sbp0 at ieee1394if0: SBP-2/SCSI over IEEE1394
> scsibus0 at sbp0: 1 target, 0 luns per target
> sbp0:0:1 login failed
> sd0 at scsibus0 target 0 lun 0: <DMI, 0KLAT80, 0306> disk fixed
> sd0: fabricating a geometry
> sd0: 372 GB, 381554 cyl, 64 head, 32 sec, 512 bytes/sect x 781422768 sect=
ors
> ----
> I have created the partition using pdisk like that:
> ----
> Partition map (with 512 byte blocks) on '/dev/sd0c'
>  #:                type name       length   base      ( size )
>  1: Apple_partition_map Apple          63 @ 1
>  2:     Apple_UNIX_SVR2 partner 781422704 @ 64        (372.6G)
> ----
> Then created a disklabel like that:

Don't do that. Just use the pdisk label. If you get the right flags set on=
=20
the partition, it'll show up as sd0a.

Take care,

Bill

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

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

iD8DBQFG+IRaWz+3JHUci9cRAjp6AJ9TYttS2iWOwPkvLtkdI/UJtWVt9ACfTSSQ
bkN0Q7yTsW49IUkXISc4fP0=
=/Kbu
-----END PGP SIGNATURE-----

--ZGiS0Q5IWpPtfppv--