tar problem

Oliver Fuchs oliverfuchs at onlinehome.de
Thu Jul 1 20:29:01 PDT 2004


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 at solid$ su
> Password:
> flipnode at 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


More information about the freebsd-questions mailing list