Skip to contentSkip to conversation

hfs resource forks in Linux

DISCUSSION Dan Bethe 5 participants 5 messages Sep 13, 1999 – Sep 14, 1999

lore
Share & tools
lore

Dan Bethe

author
#0 lore raw

Hi guys. In another thread, I saw someone ask for technique to
sensibly manage HFS resource forks in Linux. Here are the following two tools I've known. 'hfstools' is pretty flexible, and will do encoding conversions (macbinary, binhex, etc) on the fly. Tons of options available in that one. I dont know about hfsutils-devel other than that it's a C library, and the rpm I found was only for i386 but it's obviously got the docs.
I'm not sure if this is suitable for any advanced or particular use
other than general file management, but it's all I know. I found these on www.linuxnow.com's search engine.

ftp://ftp.varesearch.com/pub/mirrors/redhat/roughcuts/ppc/SRPMS/hfsutils-3.2-1b.src.rpm

ftp://ftp.varesearch.com/pub/mirrors/redhat/redhat/powertools/5.2/i386/hfsutils-devel-3.2-1.i386.rpm
===
"We can learn from the past, but those days are gone.
We can hope for the future, but there may not be one."
-- http://www.dreamtheater.net/songb5.htm#VI1

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 12 lines · Dan Bethe

Hi guys. In another thread, I saw someone ask for technique to
sensibly manage HFS resource forks in Linux. Here are the following two tools I've known. 'hfstools' is pretty flexible, and will do encoding conversions (macbinary, binhex, etc) on the fly. Tons of options available in that one. I dont know about hfsutils-devel other than that it's a C library, and the rpm I found was only for i386 but it's obviously got the docs.
I'm not sure if this is suitable for any advanced or particular use
other than general file management, but it's all I know. I found these on www.linuxnow.com's search engine.

Quoted 3 lines

ftp://ftp.varesearch.com/pub/mirrors/redhat/roughcuts/ppc/SRPMS/hfsutils-3.2-1b.src.rpm

ftp://ftp.varesearch.com/pub/mirrors/redhat/redhat/powertools/5.2/i386/hfsutils-devel-3.2-1.i386.rpm

There is a hfsutils-3.2.6-1.ppc.rpm (and a corresponding -devel-) on ftp.linuxppc.org in the contrib directory, and YDL has something similar.

It is still a mystery for me why this package is not included in the LinuxPPC-dev-rel, nor on the LinuxPPC CD. I think this is a basic necessity for anyone using LinuxPPC on a Pmac. Fortunately, RedHat continues to develop it in its rawhide/powertools collection.

On 2.3.xx kernels, the hfs system is broken, and it doesn't look like it will be fixed in the near future*). So for me at least, hfsutils is essential to copy things like new kernels to the MacOS system folder without having to boot MacOS.

*) I saw a message on linux-kernel in which A. Sun, the maintainer of the hfs code, said that it's on his todo list, but right now "on the back burner". If that's true and nobody else steps in, we won't see HFS+ support in this century either.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 4 lines · Martin Costabel

It is still a mystery for me why this package is not included in the LinuxPPC-dev-rel, nor on the LinuxPPC CD. I think this is a basic necessity for anyone using LinuxPPC on a Pmac. Fortunately, RedHat continues to develop it in its rawhide/powertools collection.

The dev rel was a straight port of RH6. Very basic PMac tools were added (since you can cp/mv kernels to/from hfs w/o extra utils, it wasn't needed/included). Why R5 didn't have it, I dunno, perhaps Q3 has it.

---
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to Dan Bethe

Not quite what I was talking about. These let us touch the resource fork, and deal with hfs volumes, not manage a specific file's resource fork on the resource level.

Quoted 12 lines · Dan Bethe

Hi guys. In another thread, I saw someone ask for technique to
sensibly manage HFS resource forks in Linux. Here are the following two tools I've known. 'hfstools' is pretty flexible, and will do encoding conversions (macbinary, binhex, etc) on the fly. Tons of options available in that one. I dont know about hfsutils-devel other than that it's a C library, and the rpm I found was only for i386 but it's obviously got the docs.
I'm not sure if this is suitable for any advanced or particular use
other than general file management, but it's all I know. I found these on www.linuxnow.com's search engine.

Quoted 8 lines

ftp://ftp.varesearch.com/pub/mirrors/redhat/roughcuts/ppc/SRPMS/hfsutils-3.2-1b.src.rpm

ftp://ftp.varesearch.com/pub/mirrors/redhat/redhat/powertools/5.2/i386/hfsutils-devel-3.2-1.i386.rpm
===
"We can learn from the past, but those days are gone.
We can hope for the future, but there may not be one."
-- http://www.dreamtheater.net/songb5.htm#VI1

Dan

/--------------------------------\ /--------------------------------\

|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         [email protected]         |  |       [email protected]      |
\--------------------------------/  \--------------------------------/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw
Quoted 3 lines · Daniel Jacobowitz

Not quite what I was talking about. These let us touch the resource fork, and deal with hfs volumes, not manage a specific file's resource fork on the resource level.

The resource fork format is not terribly complex. If noone does it, I'll look into writing a couple of tools for managing them one of those days.

Signature · 6 lines
           Perso. e-mail: <mailto:[email protected]>
           Work   e-mail: <mailto:[email protected]>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/