Subject: Re: Accessing HFS partition (from /i386)
To: Joel CARNAT <joel@carnat.net>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 12/03/2007 16:19:56
--HeFlAV5LIbMFYYuh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 29, 2007 at 10:01:29PM +0100, Joel CARNAT wrote:
> Hello,
>=20
> I have an HFS partition on an USB disk.
> On a 4.99.36/i386 box, I plugged the same disk but I just can't get the
> disklabel, nor can I mount the partition:
>=20
> # dmesg ##########
> scsibus0 at umass0: 2 targets, 1 lun per target
> sd0 at scsibus0 target 0 lun 0: <SAMSUNG, HM100JC, 0811> disk fixed
> sd0: fabricating a geometry
> sd0: 95396 MB, 95396 cyl, 64 head, 32 sec, 512 bytes/sect x 195371568
> sectors
> ##################
> # sudo disklabel sd0
> disklabel: could not read existing label
> # sudo apmlabel sd0
> get label: Inappropriate ioctl for device
> # sudo apmlabel /dev/sd0
> get label: Inappropriate ioctl for device
> # sudo apmlabel /dev/rsd0
> get label: Inappropriate ioctl for device
> # sudo apmlabel -r /dev/rsd0
> get label: Inappropriate ioctl for device
>=20
> Can I access HFS partition from /i386 ?

If we could get the disklabel to read, you could.

Unfortunately I haven't followed -current well, so I'm not familiar with=20
apmlabel.

Take care,

Bill

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

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

iD8DBQFHVJ0sWz+3JHUci9cRAuv6AJ4keW2DG0JxeEH7KDiEc30tIw0rxQCfUaTj
RWPs+TpC4vT93iyST+DtL1M=
=rJoO
-----END PGP SIGNATURE-----

--HeFlAV5LIbMFYYuh--