Date: Fri, 2 Jul 2004 05:21:52 +0200 From: Oliver Fuchs <oliverfuchs@onlinehome.de> To: freebsd-questions@freebsd.org Subject: Re: tar problem Message-ID: <20040702032152.GA5911@oliverfuchs.ath.cx> 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, Bruce Hunter 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..
Hi,
you have to change the tar -f option:
man tar:
[...]
-f [hostname:]file
--file [hostname:]file Read or write the specified file (default is
/dev/sa0). If a hostname is specified, tar will
use rmt(8) to read or write the specified file on
a remote machine. ``-'' may be used as a file-
name, for reading or writing to/from stdin/std-
out.
[...]
For example: tar -cvzf /home/me/backup/solisix.baktar.gz /Solasix/files
Oliver
--
... don't touch the bang bang fruit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040702032152.GA5911>
