From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 03:29:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B991B16A4CE for ; Fri, 2 Jul 2004 03:29:01 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5984043D54 for ; Fri, 2 Jul 2004 03:29:01 +0000 (GMT) (envelope-from oliverfuchs@onlinehome.de) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BgEhf-0002GO-00 for freebsd-questions@freebsd.org; Fri, 02 Jul 2004 05:27:07 +0200 Received: from [217.1.218.134] (helo=oliverfuchs.ath.cx) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1BgEhe-0007S2-00 for freebsd-questions@freebsd.org; Fri, 02 Jul 2004 05:27:07 +0200 Received: from oliverfuchs.ath.cx (localhost [127.0.0.1]) i623R2hI006847verify=FAIL) for ; Fri, 2 Jul 2004 05:27:02 +0200 Received: (from oliverfuchs1@localhost) by oliverfuchs.ath.cx (8.12.3/8.12.3/Debian-6.6) id i623Lrvi006674 for freebsd-questions@freebsd.org; Fri, 2 Jul 2004 05:21:53 +0200 Date: Fri, 2 Jul 2004 05:21:52 +0200 From: Oliver Fuchs To: freebsd-questions@freebsd.org Message-ID: <20040702032152.GA5911@oliverfuchs.ath.cx> Mail-Followup-To: freebsd-questions@freebsd.org References: <1088728604.849.1.camel@solid.solisixoffice.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1088728604.849.1.camel@solid.solisixoffice.com> User-Agent: Mutt/1.4.2i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c2b2791553508cc938db2bcf18721a3c Subject: Re: tar problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 03:29:01 -0000 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