Date: Mon, 31 Oct 2005 22:00:36 GMT From: Joerg Pulz <Joerg.Pulz@frm2.tum.de> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/88293: /etc/rc.initdiskless broken Message-ID: <200510312200.j9VM0aD3046338@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/88293; it has been noted by GNATS. From: Joerg Pulz <Joerg.Pulz@frm2.tum.de> To: Brooks Davis <brooks@one-eyed-alien.net> 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510312200.j9VM0aD3046338>