conf/88293: /etc/rc.initdiskless broken
Brooks Davis
brooks at one-eyed-alien.net
Mon Oct 31 13:20:22 PST 2005
The following reply was made to PR conf/88293; it has been noted by GNATS.
From: Brooks Davis <brooks at one-eyed-alien.net>
To: Joerg Pulz <Joerg.Pulz at frm2.tum.de>
Cc: freebsd-gnats-submit at 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
More information about the freebsd-bugs
mailing list