Subject: afio problem
To: port-pmax list NetBSD <port-pmax@netbsd.org>
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
List: port-pmax
Date: 04/11/2004 13:04:19
I am running a 1.6 kernel (a full 1.6 install actually). I needed afio so
I grabbed the 1.6.2 pkgsrc (first time afio was included) and built it.
No problems here, but when testing it I get errors:

$ find -x . | afio -ov /tmp/test1.afio
. -- okay
CVS -- okay
CVS/Root -- okay
CVS/Repository -- okay
[rest of list trimmed - all okay]

$ ls -l /tmp/test1.afio
-rw-rw-r--  1 eyal  wheel  558080 Apr 11 12:51 /tmp/test1.afio

$ file /tmp/test1.afio
/tmp/test1.afio: ASCII cpio archive (pre-SVR4 or odc)

$ afio -tv /tmp/test1.afio
drwxr-xr-x  1 root     wsrc              Apr 11 12:36:18 2004 .
afio: "/tmp/test1.afio" [offset 540k+0]: Fatal error:
afio: "/tmp/test1.afio": Premature input EOF

I verified that the archive is bad by testing it on another system
(same errors).

I built the same afio package on my pc532 and it works just fine there.

Anyone got afio working here? Maybe someone with 1.6.2 installed from
the distro?

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>