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/
> [EMAIL PROTECTED] su
> Password:
> [EMAIL PROTECTED] 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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"