Koozali.org: home of the SME Server

Mac hfs application storage

Paul Miller

Mac hfs application storage
« on: June 30, 2001, 11:36:20 AM »
I need help with a Mac applications storage problem on e-smith 4.1.2.

I am upgrading the IDE hard drive on my iMac.  Since it only has space for one drive, I hoped I could transfer my applications and preferences to e-smith, change drives and move the files back to the iMac.  

However, when I try to transfer Mac applications to e-smith I get a file -50 error.  I suspect the resource forks are not being transferred.

I believe the kernel supports hfs volumes and people use linux to mount hfs CDROMs and ZIP drives. Is e-smith capable of storing Mac applications or can I modify it to do so?  

I tried slaving the old iMac disk to e-smith.  It recognized the drive on startup but when I tried to mount it

mount -t hfs -o afps /dev/hdb

it complains 'bad superblock on /dev/hdb'.  No surprise there.  

Is there a way to use e-smith to get my applications stored and restored?

Stephan Burmeister

Re: Mac hfs application storage
« Reply #1 on: July 02, 2001, 10:07:37 PM »
> mount -t hfs -o afps /dev/hdb

Try /dev/hdb1 instead.

Paul Miller

Re: Mac hfs application storage
« Reply #2 on: July 04, 2001, 04:46:10 AM »
Thanks for the response Stephan

I was able to

mount -t hfs -o afpd /dev/hdb /home/e-smith/files/primary/files/temp

( also with /dev/hdb5) and see the top level of the drive with

ls -l temp

I see files but no directories.  

I don't believe hfs.o is loaded.   I am guessing it is needed.

modprobe -dn /lib/modules/2.2.16-22/fs/hfs.o

complains

'Can't locate module '/lib/modules/2.2.16-22/fs/hfs.o '

I don't know what concepts I need to grasp to continue. Should I install a compiler and kernel-sources to enable Macintosh partition table support in the kernel by using 'make menuconfig' or can the configuration  be changed with kernel modules?  What parts of e-smith do you recommend I study to change the configuration?

Thanks again for the help.

Stephan Burmeister

Re: Mac hfs application storage
« Reply #3 on: July 04, 2001, 12:24:30 PM »
This is strange. There seems to be something wrong with your e-smith installation.

On my server hfs.o is present and I have no problems transferring Mac files and applications to it via file sharing.

There should be no need for you to do things like mounting hard disks directly to the server or even recompiling the kernel. I have always seen Mac file sharing working right out of the box with e-smith.

It's just a guess but maybe you have a bad installation CDROM. See the HOWTOs on rsync and burning an ISO image.

Stephan

Paul Miller

Re: Mac hfs application storage
« Reply #4 on: July 04, 2001, 01:37:46 PM »
Thanks for confirming that transferring Mac applications to e-smith 'should' work out of the box.  I will connect another Mac to see if I get the same result. I read somewhere that hfs+ doesn't work on e-smith.  However, I believe I am using hfs on my iMac.

>This is strange. There seems to be something wrong with your e-smith
>installation.

I have an hfs.o file on my system too but I was tinkering with modprobe and assumed (probably wrong) that since it was not loaded it is not being used.  Maybe hfs.o gets loaded dynamically.

>On my server hfs.o is present and I have no problems transferring Mac files
>and applications to it via file sharing.

Thanks for helping.