Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 1998 12:05:08 +0100
From:      "Greg Quinlan" <gquinlan@qmpgmc.ac.uk>
To:        <freebsd-bugs@FreeBSD.ORG>
Subject:   CPIO -i (into oblivion your archive)
Message-ID:  <01bdc12a$13019560$380051c2@greg.qmpgmc.ac.uk>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Can someone tell me how this could possibly happen:
Look at the transcript :(

TRANSCRIPT STARTS

# ls -l
total 270560
-rw-r--r--  1 root  wheel  138444800 Aug  1 17:44 NEW
# file *
NEW: ASCII cpio archive (SVR4 with no CRC)
# cpio -idumBI NEW
>^C
# ls
NEW             apache_1.3.0
# cpio -ivdumBI NEW
cpio: premature end of archive
# ls -l
total 2
-rw-r--r--  1 root  wheel    0 Aug  1 17:41 NEW
drwxr-xr-x  6 root  wheel  512 Aug  6 11:31 apache_1.3.0

TRANSCRIPT ENDS

Yes I think it is very serious a bug too!

What is curious is that the modification times on the files are different but the date is the same.

This operation was done at approximately Aug 6 11:40 1998 which does not relate to the modification date & time.

The initial operation was interupted with Ctrl-C (because I wanted to display the files with the -v option)

This is an exact transcript copied using cut and paste from the terminal emulater.

FreeBSD 2.2.5.
On a Pentium II - 300MHz
128MB RAM
SuperMicro P6SLA
Adaptec 3940UW - Twin Channel
4 x WD SCSI-3 Ultra-Wide Hard Disks
(two on each channel)

Greg



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Can someone tell me how this could possibly 
happen:</FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Look at the transcript :(</FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>TRANSCRIPT STARTS</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2># ls -l<BR>total 270560<BR>-rw-r--r--&nbsp; 1 
root&nbsp; wheel&nbsp; 138444800 Aug&nbsp; 1 17:44 NEW<BR># file *<BR>NEW: ASCII 
cpio archive (SVR4 with no CRC)<BR># cpio -idumBI 
NEW<BR>&gt;^C</FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2># 
ls<BR>NEW&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
apache_1.3.0<BR># cpio -ivdumBI NEW<BR>cpio: premature end of archive<BR># ls 
-l<BR>total 2<BR>-rw-r--r--&nbsp; 1 root&nbsp; wheel&nbsp;&nbsp;&nbsp; 0 
Aug&nbsp; 1 17:41 NEW<BR>drwxr-xr-x&nbsp; 6 root&nbsp; wheel&nbsp; 512 Aug&nbsp; 
6 11:31 apache_1.3.0<BR></FONT>&nbsp;</DIV>
<DIV>TRANSCRIPT ENDS</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Yes I think it is very serious a bug 
too!</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>What is curious is that the modification times 
on the files are different but the date is the same.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>This operation was done at approximately </FONT><FONT 
size=2>Aug 6 11:40 1998 which does not relate to the modification date &amp; 
time.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>The initial operation was interupted with Ctrl-C (because I 
wanted to display the files with the -v option)</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>This is an exact transcript copied using cut and paste from 
the terminal emulater.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>FreeBSD 2.2.5.</FONT></DIV>
<DIV><FONT size=2>On a Pentium II - 300MHz</FONT></DIV>
<DIV><FONT size=2>128MB RAM</FONT>&nbsp;</DIV>
<DIV><FONT size=2>SuperMicro P6SLA</FONT>&nbsp;</DIV>
<DIV><FONT size=2>Adaptec 3940UW - Twin Channel</FONT>&nbsp;</DIV>
<DIV><FONT size=2>4 x WD SCSI-3 Ultra-Wide Hard Disks</FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT><FONT color=#000000 size=2>(two on each 
channel)</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Greg</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bdc12a$13019560$380051c2>