SUMMARY: problems with tar on Solaris 2.3

From: Dotty Pon (dotty@hobbes.tgivan.wimsey.bc.ca)
Date: Sun Jun 19 1994 - 19:57:08 CDT


Thanks a bunch. The solution is to install patch 101327-06.

Thanks to:

Zdzislaw Meglicki <Zdzislaw.Meglicki@cisr.anu.edu.au>
glenn@uniq.com.au (Glenn Satchell - Uniq Professional Services)
hendefd@mail.auburn.edu (Frank Henderson)

Dotty

Original post:

>
>
>Gods:
>
>I made a tar file with the Solaris 2.3 tar and then extracted the tar file
>with an exclude file containing two entries:
> a file to be excluded
> a directory to be excluded (that contained files)
>
>The results were that the file was excluded but the dir wasn't. I then used
>this same tar file and ran the same commnad on it with SunOS 4.1.3 and
>it behaved correctly.
>
>Included is the exclude file, the output of the two tar commands and the
>table of contents of the tar file I was using.
>
>Have any of you had similar problems? Thanks for all your help and
>I'll post a summary of replies.
>
>Thanks
>
>Dotty
>---------------------------------------------------------------------------
> Dotty Pon, Volunteer System Administrator + dotty@tgivan.wimsey.bc.ca
> Vancouver Regional Freenet Association + dpon@freenet.vancouver.bc.ca
>---------------------------------------------------------------------------
>
>encl.
>
>
>Exclude file:
>
>./enx_start
>./dir
>
>Solaris 2.3 output:
>
>tar xvpfX ../tar_file exclude
>x ./, 0 bytes, 0 tape blocks
>x ./enx_autoroute, 0 bytes, 0 tape blocks
>./enx_start excluded
>x ./enx_start_csh, 5680 bytes, 12 tape blocks
>x ./mess.log, 129760 bytes, 254 tape blocks
>./dir/ excluded
>x ./dir/enx_autoroute, 0 bytes, 0 tape blocks
>x ./dir/enx_start, 4302 bytes, 9 tape blocks
>x ./dir/enx_start_csh, 5680 bytes, 12 tape blocks
>x ./dir/mess.log, 129760 bytes, 254 tape blocks
>
>SunOS 4.1.3 output:
>
>tar xvpfX ../tar_file exclude
>x ./enx_autoroute, 0 bytes, 0 tape blocks
>./enx_start excluded
>x ./enx_start_csh, 5680 bytes, 12 tape blocks
>x ./mess.log, 129760 bytes, 254 tape blocks
>./dir/ excluded
>./dir/enx_autoroute excluded
>./dir/enx_start excluded
>./dir/enx_start_csh excluded
>./dir/mess.log excluded
>
>
>Table of contents of tar file:
>
>tar tvf tar_file
>drwxrwx---143/102 0 Jun 15 11:14 1994 ./
>-rw-rw----143/102 0 Jun 7 16:08 1994 ./enx_autoroute
>-rwxr-x---143/102 4302 Jun 7 16:08 1994 ./enx_start
>-rwxr-x---143/102 5680 Jun 7 16:08 1994 ./enx_start_csh
>-rw-r--r--143/102 129760 Jun 7 16:08 1994 ./mess.log
>drwxrwx---143/102 0 Jun 15 11:14 1994 ./dir/
>-rw-rw----143/102 0 Jun 15 11:14 1994 ./dir/enx_autoroute
>-rwxr-x---143/102 4302 Jun 15 11:14 1994 ./dir/enx_start
>-rwxr-x---143/102 5680 Jun 15 11:14 1994 ./dir/enx_start_csh
>-rw-r--r--143/102 129760 Jun 15 11:14 1994 ./dir/mess.log
>
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:04 CDT