This is OS X Tiger tar, so nothing new until Leopard... Does anyone know if OS X Tiger rsync takes care of resource forks?
James On Jul 3, 2007, at 1:13 PM, Craig Barratt wrote: > James writes: > >>> What version of tar is this? >> >> Tomm:/Users/user root# tar --version >> tar (GNU tar) 1.14 +CVE-2006-0300 +CVE-2006-6097 >> >>> If it is not standard gnu tar, is >>> there source available to look at? How big is the winxp.hdd >>> file? >> >> -rw-r--r-- 1 user user 8731151360 Jul 2 20:25 winxp.hdd > > tar 1.14 had a bug related to not correctly padding files that > got smaller during archiving. Doing this: > > diff -bur tar-1.14/src/create.c tar-1.16.1/src/create.c > > shows this change: > > @@ -868,39 +1034,54 @@ > quotearg_colon (st->orig_file_name), > STRINGIFY_BIGINT (size_left, buf))); > if (! ignore_failed_read_option) > - exit_status = TAREXIT_FAILURE; > - pad_archive (size_left); > + exit_status = TAREXIT_DIFFERS; > + pad_archive (size_left - (bufsize-count)); > return dump_status_short; > } > } > > which I suspect is the change mentioned in the ChangeLog: > > 2005-05-12 Sergey Poznyakoff <[EMAIL PROTECTED]> > > * src/create.c (dump_regular_file): Correctly pad archive > members > that shrunk during archiving. Repored by Frank Heckenbach. > > So I recommend trying a newer version of tar. However, I don't know > if OSX adds features for resource forks to tar, so the vanilla GNU > tar might not handle resource forks. Does a newer OSX have a newer > tar version? > > Craig ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
