Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

overwrite /dev/stdout? tar with option -z

From: Maik Kuendig <openbsd-lists(at)maik.li>
Date: Wed Jun 25 2003 - 07:04:23 EDT


Hello,

Sine a few days I get the follwoed error messages, on a bootcd:   overwrite /dev/stdout?
  tar: end of archive volume 1 reached
  tar: Sorry, unable to determinate archive format

If I don't us the "z" option in the tar command all is OK.

What I do is: Mount the /dev filesystem to a mount_union ramdisk, from the rc script. The filesystem is is as a tar archive on the CD.

may it's a bug, but may it's my mistake. I can use it with out the "z" option, so the priority is very low.

I do the same thing also with /etc, and I got the same error message.

Not working code:
  if [ -f /cdboot/DateiSystem.tgz ]; then     tar zxpf /cdboot/DateiSystem.tgz -C /     echo 'var und tmp entpackt'
  fi

working code:

Do you need help?X

    if [ -f /cdboot/DateiSystem.tgz ]; then

      tar xpf /cdboot/DateiSystem.tgz -C /
      echo 'var und tmp entpackt'

    fi

If you need more infos, please tell me what you need and I'll send it as soon as possible.

Maik Received on Wed Jun 25 07:19:38 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library