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
This is a multi-part message in MIME format.

------=_NextPart_000_001E_01BDC132.74C5FD60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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



------=_NextPart_000_001E_01BDC132.74C5FD60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Can someone tell me how this could =
possibly=20
happen:</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Look at the transcript =
:(</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>TRANSCRIPT STARTS</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2># ls -l<BR>total =
270560<BR>-rw-r--r--&nbsp; 1=20
root&nbsp; wheel&nbsp; 138444800 Aug&nbsp; 1 17:44 NEW<BR># file =
*<BR>NEW: ASCII=20
cpio archive (SVR4 with no CRC)<BR># cpio -idumBI=20
NEW<BR>&gt;^C</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>#=20
ls<BR>NEW&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
apache_1.3.0<BR># cpio -ivdumBI NEW<BR>cpio: premature end of =
archive<BR># ls=20
-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;=20
6 11:31 apache_1.3.0<BR></FONT>&nbsp;</DIV>
<DIV>TRANSCRIPT ENDS</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Yes I think it is very serious a bug =

too!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>What is curious is that the =
modification times=20
on the files are different but the date is the same.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>This operation was done at approximately =
</FONT><FONT=20
size=3D2>Aug 6 11:40 1998 which does not relate to the modification date =
&amp;=20
time.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>The initial operation was interupted with Ctrl-C =
(because I=20
wanted to display the files with the -v option)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>This is an exact transcript copied using cut and =
paste from=20
the terminal emulater.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>FreeBSD 2.2.5.</FONT></DIV>
<DIV><FONT size=3D2>On a Pentium II - 300MHz</FONT></DIV>
<DIV><FONT size=3D2>128MB RAM</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>SuperMicro P6SLA</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Adaptec 3940UW - Twin Channel</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>4 x WD SCSI-3 Ultra-Wide Hard =
Disks</FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 size=3D2>(two on each=20
channel)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Greg</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_001E_01BDC132.74C5FD60--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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