From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 02:29:32 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 A8FB816A4CE for ; Fri, 2 Jul 2004 02:29:32 +0000 (GMT) Received: from dime54.dizinc.com (dime54.dizinc.com [66.194.239.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 762C443D54 for ; Fri, 2 Jul 2004 02:29:32 +0000 (GMT) (envelope-from freebsd@solisix.com) Received: from c-67-172-98-39.client.comcast.net ([67.172.98.39] helo=[192.168.1.13]) by dime54.dizinc.com with esmtp (Exim 4.34) id 1BgDnG-00058w-5Z; Thu, 01 Jul 2004 22:28:50 -0400 From: Bruce Hunter To: Roop Nanuwa , freebsd-questions@freebsd.org In-Reply-To: <75f3f7050407011923279dc72@mail.gmail.com> References: <1088728604.849.1.camel@solid.solisixoffice.com> <75f3f7050407011923279dc72@mail.gmail.com> Content-Type: text/plain Organization: Solisix Software Message-Id: <1088735303.4072.2.camel@solid.solisixoffice.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 01 Jul 2004 22:28:23 -0400 Content-Transfer-Encoding: 7bit X-PopBeforeSMTPSenders: bhunter@solisix.com,freebsd@solisix.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - dime54.dizinc.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - solisix.com X-Source: X-Source-Args: X-Source-Dir: 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 02:29:32 -0000 On Thu, 2004-07-01 at 22:23, Roop Nanuwa wrote: > On Thu, 01 Jul 2004 20:36:44 -0400, 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.. > > > > 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 Thanks, I got it to work. How would I include the current system date like this. #tar -cvf Solisix-$USER.tar Solisix/ <--- with current user.. I want the date instead.. #tar -cvf Solisix-$date.tar Solisix/ <-- doesn't work I'm still learning.. sorry Bruce