conf/88293: /etc/rc.initdiskless broken

Joerg Pulz Joerg.Pulz at frm2.tum.de
Mon Oct 31 14:00:36 PST 2005


The following reply was made to PR conf/88293; it has been noted by GNATS.

From: Joerg Pulz <Joerg.Pulz at frm2.tum.de>
To: Brooks Davis <brooks at one-eyed-alien.net>
Cc: freebsd-gnats-submit at 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-----


More information about the freebsd-bugs mailing list