Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 13:55:04 +0200
From:      Pico Geyer <picogeyer@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   CPIO compatibility with Freebsd 8[.1]
Message-ID:  <AANLkTi=NfEGifT-EJU4gAjpjKZBTy4WRSNUir99zKC9s@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all.

I recently noticed that I could not extract a cpio archive that I have
on my Freebsd 8.0 machine.
I thought that the archive might be corrupt so I compared the md5sum
to a backup that I have and it was fine.

I then tried to extract the archive on Freebsd 7.2 and it extracted
without problems.
I then tried on a Freebsd 8.1 system and I get the errors again.

My archive is actually the output of a nanobsd build that someone
created for me.
So as root I do
> cpio -i < ../_.fsimg

And as the output shows it can't create many files.
usr/local/lib/python2.6/distutils/tests/__init__.py: Can't create
'usr/local/lib/python2.6/distutils/tests/__init__.py'
usr/local/lib/python2.6/distutils/tests/__init__.pyo: Can't create
'usr/local/lib/python2.6/distutils/tests/__init__.pyo'
usr/local/lib/python2.6/distutils/tests/__init__.pyc: Can't create
'usr/local/lib/python2.6/distutils/tests/__init__.pyc'
usr/local/lib/python2.6/distutils/tests/support.py: Can't create
'usr/local/lib/python2.6/distutils/tests/support.py'
usr/local/lib/python2.6/distutils/tests/support.pyo: Can't create
'usr/local/lib/python2.6/distutils/tests/support.pyo'
usr/local/lib/python2.6/distutils/tests/support.pyc: Can't create
'usr/local/lib/python2.6/distutils/tests/support.pyc'
[snip]

Does anyone know why this might be happening?
Are there compatibility changes with cpio?

Any advice would be appreciated.
Thanks,
Pico



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=NfEGifT-EJU4gAjpjKZBTy4WRSNUir99zKC9s>