From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 31 22:00:36 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C54D516A41F for ; Mon, 31 Oct 2005 22:00:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AA6A43D45 for ; Mon, 31 Oct 2005 22:00:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9VM0aTO046339 for ; Mon, 31 Oct 2005 22:00:36 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9VM0aD3046338; Mon, 31 Oct 2005 22:00:36 GMT (envelope-from gnats) Date: Mon, 31 Oct 2005 22:00:36 GMT Message-Id: <200510312200.j9VM0aD3046338@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Joerg Pulz Cc: Subject: Re: conf/88293: /etc/rc.initdiskless broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Pulz List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 22:00:36 -0000 The following reply was made to PR conf/88293; it has been noted by GNATS. From: Joerg Pulz To: Brooks Davis Cc: freebsd-gnats-submit@freebsd.org Subject: Re: conf/88293: /etc/rc.initdiskless broken Date: Mon, 31 Oct 2005 22:54:08 +0100 (CET) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 31 Oct 2005, Brooks Davis wrote: > I've committed the removal of -x cpio, mostly to record the problem. > Please try the following patch. Since we're already using /rescue, we > might as well use tar which is way more capable than pax. > > --- /etc/rc.initdiskless Wed Oct 26 16:09:35 2005 > +++ rc.initdiskless Mon Oct 31 13:07:53 2005 > @@ -309,7 +309,7 @@ > if [ -f $j ]; then > create_md $subdir > echo "Loading /$subdir from cpio archive $j" > - (cd / ; /rescue/pax -x cpio -r -z -p e -f $j) > + (cd / ; /rescue/tar -xpf $j) > fi > done > for j in /conf/$i/*.remove ; do Hi Brooks, i tried your suggested patch and it is working fine. This solves both problems i described in the PR. Thanks a lot. Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDZpKCSPOsGF+KA+MRAifdAJ45XhUwlGIK2xI+4Ks7++NLWw7zYwCgtC/m Ec+BykXGl7WvY/Q1Y4MGkZw= =jNPv -----END PGP SIGNATURE-----