Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2004 19:23:53 -0700
From:      Roop Nanuwa <roop.nanuwa@gmail.com>
To:        Bruce Hunter <freebsd@solisix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tar problem
Message-ID:  <75f3f7050407011923279dc72@mail.gmail.com>
In-Reply-To: <1088728604.849.1.camel@solid.solisixoffice.com>
References:  <1088728604.849.1.camel@solid.solisixoffice.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 01 Jul 2004 20:36:44 -0400, Bruce Hunter <freebsd@solisix.com> wrote:
> 
> I am trying to archive this directory for backup purposes. I am getting
> this error when trying to create a new tar file.
> 
> Solisix/
> flipnode@solid$ su
> Password:
> flipnode@solid# tar -c Solisix/
> tar: /dev/sa0: Cannot open: Operation not supported
> tar: Error is not recoverable: exiting now
> 
> What is wrong? Permissions? I am root..
> 

You need to specify the 'f' option to tell tar where to write the tar
to, it's defaulting
to /dev/sa0 which probably doesn't exist on your system.

Run:
tar -cf Solisix.tar Solisix/

--roop



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75f3f7050407011923279dc72>