Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 19:41:19 +0100
From:      Thierry Herbelot <thierry@herbelot.com>
To:        <freebsd-ppc@FreeBSD.ORG>
Subject:   Reading from an OS-X HFS disk drive ?
Message-ID:  <200211251954.32081.thierry@herbelot.com>

next in thread | raw e-mail | index | archive | help
[re-post from a message sent to -hackers, for which I had no answer : -ppc is 
certainly a better audience ;-)]

Abstract : I have seen that the hfs and hfsutils only deal with "standard HFS" 
partitions. 
Is there a way to read HFS+ partitions from a Uix-like OS (not OS-X, of 
course) ?

	TfH

re-post :
---------------------

Hello,

I've installed 5.0-DP2 on my Vaio which has a firewire port.

I already had loaded the firewire driver in 4.7-Stable, to see what happened 
(nothing remarkable : the chipset is indeed probed and recognized, 
nevertheless, thanks for the driver !).

To go a bit further, I've borrowed a 80Gb disk from a colleague, who runs OS-X 
on his mac. I'm trying to read from this disk under 5.0-DP2

after loading the sbp.ko module, the disk is detected as :
sbp0: <SBP2/SCSI over firewire> on firewire0
sbp_attach
sbp_post_explore: EUI:0030e001e0000005 spec=1 key=1.
sbp0:0:0 LOGIN
sbp0:0:0 ordered:1 type:14 EUI:0030e001e0000005 node:1 speed:2 maxrec:5 new!
sbp0:0:0 'Oxford Semiconductor Ltd.   ' 'OXFORD IDE Device   ' '000031'
sbp0:0:0 login: len 16, ID 0, cmd 0000fffff0100000, recon_hold 0
sbp0:0:0 sbp_busy_timeout
sbp0:0:0 sbp_agent_reset
sbp0:0:0 sbp_do_attach
sbp0:0:0 sbp_cam_scan_lun
pass0 at sbp0 bus 0 target 0 lun 0
pass0: <Oxford S OXFORD IDE Devic 0031> Fixed Simplified Direct Access SCSI-4 
device
pass0: Serial Number       VNC402A4L6Z6LA
pass0: 50.000MB/s transfers
da0 at sbp0 bus 0 target 0 lun 0
da0: <Oxford S OXFORD IDE Devic 0031> FixedSimplified Direct Access SCSI-4 
device
da0: Serial Number       VNC402A4L6Z6LA
da0: 50.000MB/s transfers
da0: 78533MB (160836480 512 byte sectors: 255H 63S/T 10011C)
GEOM: new disk da0

I've tried both /usr/ports/emulators/hfs and hfsutils, but I can't read the 
HFS partition. I only have the root directory :

portable-cur# hfs dir -d /dev/da0

Volume is Musique
Directory of :

DMGR   BTFL    1257472         0  Aug 29 14:23   Desktop DB
DMGR   DTFL          0         0  Aug 29 14:23   Desktop DF
MACS   FNDR          0         0  Aug 29 14:23   Finder
ttxt   ttro       1781         0  Aug 29 14:23   ReadMe
MACS   zsys          0     22233  Aug 29 14:23   System

           5 file(s)     1259253 bytes (data)
                           22233 bytes (resource)
                               0 bytes free

Is it a special form of HFS (HFS+ ?) ? is there some utility to mount this 
kinds of partitions ?

	Thanks in advance

	TfH

PS : the first sentence of the ReadMe file is :
"This hard disk is formatted with the Mac OS Extended format. Your files and 
information are still on the hard disk, but you cannot access them with the 
version To access your files you must mount this hard disk on a computer that 
has Mac OS 8.1 or later installed."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ppc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211251954.32081.thierry>