On Mon, 30 Jun 2003, Chris Tillman wrote:
> On Mon, Jun 30, 2003 at 04:28:49PM -0500, email@example.com wrote:
> > Hi!
> > my partition on my tibook disk:
> > /dev/hda
> > # type name length base ( size ) system
> > dump: name /dev/hda len 8
> > /dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
> > /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock
> > /dev/hda3 Apple_UNIX_SVR2 swap 524288 @ 1664 (256.0M) Linux swap
> > /dev/hda4 Apple_UNIX_SVR2 root 25165824 @ 525952 ( 12.0G) Linux native
> > /dev/hda5 Apple_UNIX_SVR2 home 16395360 @ 25691776 ( 7.8G) Linux native
> > /dev/hda6 Apple_HFS MacOSX 66524736 @ 42087136 ( 31.7G) HFS
> > /dev/hda7 Apple_Free Extra 8598368 @ 108611872 ( 4.1G) Free space
> > Block size=512, Number of Blocks=117210240
> > DeviceType=0x0, DeviceId=0x0
> > as you can see, i have hda7 as free space.
> > I want to use it to share data.
> > What do you recomend? hfs or ufs?
> HFS is supported by the kernel, but the max size is 2GB,
> max number of files 32000.
It *seems* Linux (2.4.18-newpmac) sees more than 2 GB.
Excerpt from mac-fdisk for my /dev/hda on an Apple PB G4. /dev/hda13 below
is a HFS partition. Excerpt is reformatted for this posting:
/dev/hda13 Apple_HFS LINUX.MAC.HFS 8749296 @ 38921056 ( 4.2G) HFS
I haven't tried yet to access every single file on /dev/hda13, so I cannot
gauge whether Linux really sees the whole 4.2 G. But I just mounted the
partion for this mail: it seems to work ...
> > How can i do it?
> Use mac-fdisk to create the partition(s), make it (them) type
> Apple_HFS. Then boot back to OSX to format it; and be sure to choose
> regular old HFS, not 'Extended' which is hfsplus. There are some Linux
> hfsplus utilities now, but not kernel support yet AFAIK.
I think there is a HFS+ *experimental* support:
If you're doing a make menuconfig with a rsync 4.21-ben1 kernel you'll
Apple Extended HFS file system support (EXPERIMENTAL)
in a submenu to the "File systems" menu.
Some explanation I found for this feature (pasted from
Configure.help in Ben's kernel Documentation section; excerpt):
If you say Y here, you will be able to mount extended format
Macintosh-formatted hard drive partitions with read-only access.
Most of the UNIX related filesystem data saved by Mac OSX should
This file system is often called HFS+ and was introduced with
MacOS 8.1. It includes all Mac specific filesystem data such as
data forks and creator codes, but it also has several UNIX
style features such as file ownership and permissions. No Mac
specific data can currently be accessed with this driver.
[ ... ]
I can't tell yet whether this will work or not: I'm still making the
config for this kernel ... :)
But as it is an experimental feature it's perhaps safer to simply try a
HFS partition instead of HFS+ ? ...
Hoping it helps.