tar problem

Roop Nanuwa roop.nanuwa at gmail.com
Thu Jul 1 19:31:27 PDT 2004


On Thu, 01 Jul 2004 20:36:44 -0400, Bruce Hunter <freebsd at 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 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..
> 

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


More information about the freebsd-questions mailing list