Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 21:20:21 GMT
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/88293: /etc/rc.initdiskless broken
Message-ID:  <200510312120.j9VLKLof043765@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: Brooks Davis <brooks@one-eyed-alien.net>
To: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: conf/88293: /etc/rc.initdiskless broken
Date: Mon, 31 Oct 2005 13:12:34 -0800

 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
 
 -- Brooks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510312120.j9VLKLof043765>