From owner-freebsd-bugs Thu Aug 6 06:46:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA07791 for freebsd-bugs-outgoing; Thu, 6 Aug 1998 06:46:14 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from amanda.qmpgmc.ac.uk ([194.81.5.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA07782 for ; Thu, 6 Aug 1998 06:46:12 -0700 (PDT) (envelope-from gquinlan@qmpgmc.ac.uk) Received: from dns0.qmpgmc.ac.uk by amanda.qmpgmc.ac.uk (UUNET Amanda using sendmail V8.9.1) id OAA04581; Thu, 6 Aug 1998 14:43:54 +0100 (BST) Received: from greg.qmpgmc.ac.uk (haem_pc) by dns0.qmpgmc.ac.uk (5.x/QMPGMC simple 1.27) id AA08105; Thu, 6 Aug 1998 14:55:44 +0100 Reply-To: "Greg Quinlan" From: "Greg Quinlan" To: "Peter Hawkins" Cc: Subject: Re: CPIO -i (into oblivion your archive) Date: Thu, 6 Aug 1998 14:45:27 +0100 Message-Id: <01bdc140$784509a0$380051c2@greg.qmpgmc.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-Msmail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-Mimeole: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The original archive was created using the command: find . -print | cpio -ovBO NEW -HNEWC analising the command; 1. find . -print obtains a list of files in the current directory (NEW should not exist yet) 2. cpio -ovBO NEW -HNEWC create a cpio archive, verbose, large block, output to file NEW using SYSV format (which does not truncate inodes for large file systems) It is a very good possibility.... that some how before the archive was created that the file NEW existed in the current directory, but alphabetically NEW would be at the end of the archive, and there were heaps of files that came before it....(look at the size of the archive)... they were not extracted. Nope!! The extraction was broken with a CTRL-C after about 10 seconds purely to include a -v option, to list files. (as previously stated) But I will restore the file from tape backup and do the following: cpio -itBI NEW | grep NEW && echo "yes you're right" || echo "no your wrong" I'll keep you posted! -----Original Message----- From: Peter Hawkins To: Greg Quinlan Cc: freebsd-bugs@freebsd.org Date: 06 August 1998 14:02 Subject: Re: CPIO -i (into oblivion your archive) >>-rw-r--r-- 1 root wheel 138444800 Aug 1 17:44 NEW >> >>-rw-r--r-- 1 root wheel 0 Aug 1 17:41 NEW >> >>Yes I think it is very serious a bug too! > >I don't ;) > >I'd say that the modification time on your archive going backwards after the >extraction is pretty significant. Let me take a guess that the creation of >the archive took 3-4 minutes? :) What's happenned is that you created >your archive in such a way that the file 'NEW' itself is a member of its >own archive so at some point along the extraction phase, you've re-extracted >NEW over the top of itself. > >Peter > >Hilink Internet Peter Hawkins >381 Swan St Richmond, >Vic, Australia Ph: +61-3-9421 2006 Fax: +61-3-9421 2007 >http://www.hilink.com.au Peter@hilink.com.au > >FreeBSD Project: thepish@FreeBSD.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message