John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
Posted: Wed 20 Dec 2006, 01:26 Post subject:
Complete, Tested and Working HFS+ Support
Complete, Tested and Working HFS+ Support
3 Easy Steps with total size of only (86k+)
1. Compile Kernel and add module hfsplus.ko (86k)
Files Systems->Miscellaneous filesystems->Apple Extended HFS file system support HFSPLUS_FS
2. Run this script to download and compile the apple disk device commands and a patch (I don't even think you need these untilities to mount):
Code:
#!/bin/sh
wget http://darwinsource.opendarwin.org/tarballs/apsl/diskdev_cmds-332.14.tar.gz
wget http://www.ecl.udel.edu/~mcgee/diskdev_cmds/diskdev_cmds-332.14.patch.bz2
tar -zxf diskdev_cmds-332.14.tar.gz
bunzip2 -c diskdev_cmds-332.14.patch.bz2 | patch -p0
cd diskdev_cmds-332.14
make -f Makefile.lnx
cp newfs_hfs.tproj/newfs_hfs /sbin/mkfs.hfsplus
cp fsck_hfs.tproj/fsck_hfs /sbin/fsck.hfsplus
cd /sbin
ln -s mkfs.hfsplus mkfs.hfs
ln -s fsck.hfsplus fsck.hfs
You get two sym links and two files:
/sbin/fsck.hfs link
/sbin/mkfs.hfs link
/sbin/fsck.hfsplus 1468k
/sbin/mkfs.hfsplus 215k
3. Hello HFS+
modprobe hfsplus
mount -t hfsplus -o rw /dev/hda4 /mnt/hda4
rox /mnt/hda4
or
Hello HFS (this is included in zdrive already)
modprobe hfs
mount -t hfs -o rw /dev/hda4 /mnt/hda4
rox /mnt/hda4
-----
Quick Note to anyone who might make pmount or mut.
When I do a 'print' with parted the partion shows up like this:
4 52GB 60GB 7518MB primary hfs+
I'm pretty sure hfs shows up as hfs.
BUT when I grep hfs from supported filetypes I get squashfs also.
-----
I attached an alien package of the utilities and a kernel module with temp install script (doesn't modify modules.dep, only copy and insmod), just incase anyone wanted them.
MUCH more information is available here:
http://gentoo-wiki.com/HOWTO_hfsplus
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum