Re: Hidden Files Not Being Copied


Subject: Re: Hidden Files Not Being Copied
From: Ray Zimmerman (rz10@cornell.edu)
Date: Thu Jan 18 2001 - 13:13:59 EST


At 12:58 PM -0500 1/18/01, Bill Moran wrote:
> > Each file has a set of attributes stored with it indicating whether
>> it is visible, the file type, creator app, whether it is locked, etc.
>
>Is this part of the resource fork?

I'm not 100% sure where it is stored, but I think it's part of the
file system definition (wherever file create and mod dates are
stored). It's definitely not in the resource fork though, because
files with no resource fork have this info.

>If so, how is this resource fork represented through Netatalk? The
>invisible attribute could be stored there as well.

I believe it is. IIRC the AppleDouble format stores the resource fork
as well as these extra file attributes not included in other files
systems. If you create files on the Mac and copy them to netatalk all
of these attributes stay intact. If the file starts with a . that
gets encoded when copied to a netatalk volume.

>Another thought: Why are dotfiles ignored to begin with? Why not just
>hide the .AppleDouble and .AppleDesktop files but show other dotfiles?

The only way to get a dotfile is to create it on the *nix side I
believe, in which case it is intended to be invisible. So I still
think it should be made available to the Mac side, but as a file with
the invisible bit set.

Next best would be just to make them available as visible files.

        Ray



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:31 EDT