From 1c3a359b411df74f48e71e96e8f64b7a1489e87c Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 31 Oct 2005 21:07:14 +0000 Subject: [PATCH] The -x option of pax is for creation of archives, not extraction. This will allow cpio archive support to work, at least in situations where /tmp is writable. Because pax requires a writable /tmp it is unsuitable for this task, but replacing it will come in a later commit. Submitted 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 1b40f3b41c4..e18add00830 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 -x cpio -r -z -p e -f $j) + (cd / ; /rescue/pax -r -z -p e -f $j) fi done for j in /conf/$i/*.remove ; do