Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 21:54:46 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: tar not working in an i386 chroot (getvfsbyname)
Message-ID:  <201208222154.49948.naylor.b.david@gmail.com>
In-Reply-To: <CAMQxofkobcQB7xxi=3zFtzTHUO8ZHg5ftUnSaS9iwCJ5tkXqxQ@mail.gmail.com>
References:  <201208220913.48095.naylor.b.david@gmail.com> <20120822113430.GA33100@deviant.kiev.zoral.com.ua> <CAMQxofkobcQB7xxi=3zFtzTHUO8ZHg5ftUnSaS9iwCJ5tkXqxQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wednesday, 22 August 2012 13:38:41 David Naylor wrote:
> I'm test it in ~8 hours and report back.
> 
> On Aug 22, 2012 1:34 PM, "Konstantin Belousov" <kostikbel@gmail.com> wrote:
> > On Wed, Aug 22, 2012 at 09:13:44AM +0200, David Naylor wrote:
> > > Hi,
> > > 
> > > While trying to compile FreeBSD 10 packages I encountered this error:
> > > # chroot /scratchpad/freebsd10_i386 tar -cf /dev/null root
> > > tar: getvfsbyname failed: No such file or directory
> > > tar: Error exit delayed from previous errors.
> > > 
> > > The kernel does have COMPAT_FREEBSD32 in it.  To reproduce this (on an
> > > FreeBSD10/amd64 machine) do:
> > > # cd /usr/src
> > > # make -sj16 buildworld installworld DESTDIR=/scratchpad/freebsd10_i386
> > > # chroot /scratchpad/freebsd10_i386 tar -cf /dev/null root
> > 
> > http://lists.freebsd.org/pipermail/freebsd-current/2012-August/035976.htm
> > l
> > 
> > I need somebody to test this before commit.

Applying this patch to 9-STABLE (with some fuzz) I get:
# chroot /scratchpad/freebsd10_i386/ tar -cvf /dev/null root
a root
a root/.k5login
a root/.profile
a root/.cshrc
a root/.login
a root/.history

The patch works for me.  Thanks

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEABECAAYFAlA1OQkACgkQUaaFgP9pFrJ9aACeLIFN5OfyVAlZSjEakvLF7zrs
zh4An1P4aMej8nL0rbVP4wZNquYvoSm5
=EOsQ
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208222154.49948.naylor.b.david>