From ed5b9e57cdcb31ea939330f8c0e19ec2cc3d16b9 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 31 Oct 2005 22:00:44 +0000 Subject: [PATCH] Switch from pax to tar for extracting cpio archives. pax requires a writable /tmp (or TMPDIR) and thus is unsuitable for this job. Tested by: Joerg Pulz PR: conf/88293 --- etc/rc.initdiskless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index e18add008307..4e77e74b2c9b 100644 --- a/etc/rc.initdiskless +++ b/etc/rc.initdiskless @@ -309,7 +309,7 @@ for i in ${templates} ; do if [ -f $j ]; then create_md $subdir echo "Loading /$subdir from cpio archive $j" - (cd / ; /rescue/pax -r -z -p e -f $j) + (cd / ; /rescue/tar -xpf $j) fi done for j in /conf/$i/*.remove ; do