Subject: Re: Manipulating/backing up HFS+ files
To: Mike Parson <mparson@bl.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: netbsd-users
Date: 12/06/2004 19:46:26
Mike Parson wrote:
> On Mon, Dec 06, 2004 at 02:13:57PM -0500, Louis Guillaume wrote:
>
> <snip>
>
>>What would be interesting to me is a way to, on the NetBSD machine,
>>mount a remote AFP share, and have the files on that volume appear
>>to the local machine with the resource forks split out into the
>>.AppleDouble directory. Sort of like a reverse netatalk mapping.
>>
>>This would enable remote backup of shared HFS+ filesystems on NetBSD.
>>Also it could ease the copying from shared HFS+ to netatalk shares.
>>
>>Just a crazy idea, but does anything do this?
>>
>>I'm thinking of this because we contemplating moving away from Apple
>>hardware and AppleFileServer to NetBSD and netatalk. The migration of
>>data poses somewhat of a problem with the resource forks.
>
>
> Just have the Apple fileserver mount the NetBSD file server over
> neta-talk and copy it all over from the Mac side.
>
To mount the Volume on the netatalk server, you must authenticate as a user.
When you copy a file over, it is created with the owner as the person
who mounted the Volume. Permissions are lost.
Even if we use a program like rsync (the patched one that supports
resource forks), which preserves permissions, the new files are written
with the owner as the mounter.
Perhaps there is a config in netatalk to preserve permissions by user
number, but I haven't found it yet.
Louis