From owner-freebsd-questions Fri Jan 18 19:50: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 21EBA37B405 for ; Fri, 18 Jan 2002 19:50:01 -0800 (PST) Received: (qmail 63779 invoked by uid 100); 19 Jan 2002 03:49:53 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15432.60640.829019.127594@guru.mired.org> Date: Fri, 18 Jan 2002 21:49:52 -0600 To: Philippe Rathe Cc: questions@freebsd.org Subject: Re: corruped files with tar to a tape In-Reply-To: <61382228@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.4-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Philippe Rathe types: > Maybe we will loose our backup. I hope note.... > I use this to backup from a samba share mount with mount_smbfs to ascsi > tape: > > cd /mnt/samba_share > tar -zc some_directory I hope you meant "-zc some_file".. > The output of tar look like this : > > tar: file file.html shrunk by 144 bytes, padding with zeros. > tar: file file2.html shrunk by 172 bytes, padding with zeros. Is your samba share set up to automatically translate newlines on read? > It has the same size of the original but the end of the files ( 5%) > has been overwritten by zeros! Is the old end of the file still there, followed by all those nulls? http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message