[comp.sys.apollo] Pb with tar/compress and Piced

bonnetf@apo.esiee.fr (bonnet-franck) (10/24/90)

Hi,

We have a problem using tar and compress on a directory generated
by the "piced" software from Mentor Graphics.

Scenario :

      $ tar Acf - picture | compress > picture.tar.Z

              - Tar the directory ( picture ) using the -A switch to
                conserve the APOLLO types.
              - Compress the resulting file.

      $ rm -r picture
      $ zcat picture.tar | tar Axf -

              - Uncompress it.
              - Untar it ( with -A switch ). 
              - The file type was not correctly restored and the file
                picture/sheet1.pic_$X has the "unstruct" type !!

 - Running PICED on the resulting directory gives us a strange APOLLO
   status code... It looks like unstruct type bothers quite a lot Mentor.

 - We tried to change the type to "rec" with the obty command, but it 
   didn't seem to work.
   To be precise, the result is the same if the file as the unstruct type
   or the rec type ...

 - Impossible to re-invoke piced on the resulting directory with the
   following error message : 


   $ piced picture
   PicED  Version 7.0_1.8  Wednesday, April 5, 1989   11:21:50 pm (PDT)            
   # ! Warning: authorization will expire within 14 days.
   # !          "F501    10/28/1990 ALL.STA            1AFBC756"
   # !          Contact Mentor Graphics Order Entry to renew authorization.
   
   Copyright (c) Context Corporation, 1982, All Rights Reserved.
                   UNPUBLISHED, LICENSED SOFTWARE.
       CONFIDENTIAL AND PROPRIETARY INFORMATION WHICH IS THE
         PROPERTY OF CONTEXT CORPORATION OR ITS LICENSORS.
   
       PICED picture
   # ? Error: system (or process) crash prevented complete file close (from Aegis/stream manager/IOS 0037)
   ?(piced) "/idea/sys/lib/piced.mod" - cleanup handler released out of order (process manager/process fault manager)


   Thanks for any idea, suggestion, help... (I have lost my picture !!)

-------------------------------------------------------------------------------|
bonnetf@apo.esiee.fr                     |                                     |
Frank Bonnet                             | Surfing ...                         |
E.S.I.E.E                                |                                     |
BP99 93162 Noisy le Grand cedex.FRANCE.  | the rest is details !               |
Fax   : 33 1 45 92 66 99                 |                                     |
-------------------------------------------------------------------------------|
   

root@VLSI-MENTOR.JPL.NASA.GOV (The vlsi-mentor SysAdmin) (10/25/90)

>We have a problem using tar and compress on a directory generated
>by the "piced" software from Mentor Graphics.
>Scenario :
>      $ tar Acf - picture | compress > picture.tar.Z

Tar won't work because it does not preserve object types. As a workaround,
you might think about using wbak -stdout/rbak -stdin instead of tar. 

I think you should also submit this as a problem to Context, tho they may
have fixed this already.
----
Dave Hayes  dave@vlsi-mentor.jpl.nasa.gov   
			{ucbvax,ames}!elroy!vlsi-mentor!dave
"Attempt to find truth by realizing that it will generally find YOU."