Here's were I got confused.
one spot
._filename are called resource files. Types, creation dates, etc etc. Normal OSes 😛 don't have this stuff embedded into the file itself like Mac's do (at least to the extent that Mac's do)
.DS_Store, this is were the icon and position stuff gets put. This gets created by the finder each and every time you visit a writable share. You delete them, they get put right back. So if you find these guys you know there is a Mac lurking around somewhere.
From here, this is why Apple stuff can be a pain
(of course that's from a site trying to sell you something.)
from here
What fun! 😛 (now this explains to me some difficulties I had trying to make bash scripts interact with apple scripts)
It's not a big deal, it's just one of the few gripes I have with OS X. The other grip is the mangling of the traditionally clean Unix directory system.
one spot
._filename are called resource files. Types, creation dates, etc etc. Normal OSes 😛 don't have this stuff embedded into the file itself like Mac's do (at least to the extent that Mac's do)
.DS_Store, this is were the icon and position stuff gets put. This gets created by the finder each and every time you visit a writable share. You delete them, they get put right back. So if you find these guys you know there is a Mac lurking around somewhere.
From here, this is why Apple stuff can be a pain
HFS stores meta data, e.g. Finder and Resource information on HFS within one file, but standard UNIX applications can only see the data part, the additional information (e.g. resource file, creation and backup date, file comments, type & creator, hidden flags, etc.) gets lost using standard UNIX-based tools, such as "cp", "cpio", "tar", "dump", "pax", "cat", "dd", etc. This means that the copies will be incomplete and many files will just refuse to work. For example, booting will not work, previews from EPSF files are missing, applications will not detect their own files anymore, etc.
HFS-compatible applications can deal with the additional resource and Finder information but they do not understand UNIX special files, e.g. device files, hard links, symbolic links, file and directory permissions, etc.
(of course that's from a site trying to sell you something.)
from here
UFS has the notion of a "hard link" (i.e., a duplicate directory
entry somewhere in the same file system, typically for a file).
A key characteristic of hard links is that the modes and contents
of the file are shared by the link (because all directory entries
for a file point to the same inode).
I have tried creating hard links on an HFS+ file system and they
work (mostly) as expected. I did find a peculiarity, however:
% touch foo
% ln foo foolink
# Using Get Info, set the comment for "foo".
# Using Get Info, get the comment for "foolink".
The comment, being stored in the .DS_Store file of foo's directory,
does not automatically get used for foolink.
I'd like to know whether any of the other HFS+ file attributes are
unique to the file, as opposed to being shared by all hard links to
the file.
What fun! 😛 (now this explains to me some difficulties I had trying to make bash scripts interact with apple scripts)
It's not a big deal, it's just one of the few gripes I have with OS X. The other grip is the mangling of the traditionally clean Unix directory system.