tar cvfz test.tar.gz / gives error while untaring

From: Oliver Fuchs (oliverfuchs_at_onlinehome.de)
Date: 02/29/04

  • Next message: Antonio Rodriguez: "Xfree 4.4 is out"
    Date: Sun, 29 Feb 2004 20:42:14 +0100
    To: Debian User <debian-user@lists.debian.org>
    
    

    Hi,

    I want to tar my whole / directory.

    I do
            tar cvfz test.tar.gz /
    and afterwards trying to untar the directory I receive the error-message:
            tar::Cannot mkdir: No such file or directory

    Typing tar tf test.tar the list shows me:

    /
    /boot
    /root
    [...]

    I do not understand why tar is adding the first entry "/" to the archieve
    and I cannot find a way how to prevent tar from doing this.

    Oliver

    -- 
    ... don't touch the bang bang fruit
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Antonio Rodriguez: "Xfree 4.4 is out"

    Relevant Pages

    • Re: tar a complete drive excluding one directory (solved)
      ... >> Trying this in FreeBSD is not accepted because tar is still trying to tar ... accepting this order and on the other side it isn't. ... Until know (I rebooted the new drive with the copied system) no errors ... don't touch the bang bang fruit ...
      (freebsd-questions)
    • Re: tar cvfz test.tar.gz / gives error while untaring
      ... > filesystem, including everything that's mounted off the root ... man tar to find out how not to do that. ... but trying to untar it gives me the mkdir-error-message. ... don't touch the bang bang fruit ...
      (Debian-User)
    • Re: tar problem
      ... On Thu, 01 Jul 2004, Bruce Hunter wrote: ... > this error when trying to create a new tar file. ... don't touch the bang bang fruit ...
      (freebsd-questions)
    • tar a complete drive excluding one directory
      ... I want in FreeBSD RELEASE 5.2.1 tar a complete / system except one directory ... In linux I do: ... don't touch the bang bang fruit ...
      (freebsd-questions)
    • Re: tar cvfz test.tar.gz / gives error while untaring
      ... Hash: SHA1 ... > Typing tar tf test.tar the list shows me: ... > and I cannot find a way how to prevent tar from doing this. ...
      (Debian-User)