Re: can dar handle Mac resource forks

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Tremblay wrote:
| Can dar handle resource forks in the Macintosh file system? A resource
fork is data
| that is
| bundled along with the regular file. Traditional archivers like tar
cannot handle
| them. (A
| hack was invented for pax, called hfspax, which can handle these
resoure forks.)

I suppose you mean "resource forks" and "finder informations" (beside
the "data forks") ? This is a feature request that is not straight
forward to add properly in dar. For a given file, dar already handle the
inode information (file ownership, permissions, dates and so on), the
data (=data forks) and the Extended Attributes (when the filesystem
supports them). While all theses are common to many Unix filesystem
(ext2fs, ufs, minix (excluding EA), ...) the file forks are very
particular to Macintosh hfs filesystem which is not really a Unix
system, isn't it ?

By the way, have you succeeded running dar under Macintosh ?

macOS X is a Unix like system and does not seems to use file forks, am I
wrong ?

|
| If these resource forks do not get copied to the archive many files
will be useless.
|

yes, in particular executable files.


| Also, I was wondering about how dar handles compression. My impression
is that one
| should
| not use compression when using an archiver like tar, since one little
bit of corruption
| in the
| archive, and the whole archive is useless. Other archivers like afio
handle compression
| much
| better and are considered safe to use.

you can find a detailed explaination here:
http://dar.linux.free.fr/#feat
reading the "compression","direct access" and "Archive Testing" paragraphs

if this does not answer your questions read the following:
http://dar.linux.free.fr/notes.php3


|
|
|
|

Cheers,
Denis.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFB5ZbhpC5CI8gYGlIRAgEZAJ9vJ2I2u0BBi2WqPkdLVRyHBk4u+QCeOWhF
dFWWYn7/uXZ8n6Tuz8OI4zs=
=gD8N
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.