summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-10-31 21:07:14 +0000
committerbrooks <brooks@FreeBSD.org>2005-10-31 21:07:14 +0000
commit8cc0b6538da5b4f869b6f3dac62c54102dd37c69 (patch)
treedd8e26670b1f35bb56ec21543bf12c81b8a930a6 /etc
parent394621d7697a376372d044fc524427a42969aa9f (diff)
downloadFreeBSD-src-8cc0b6538da5b4f869b6f3dac62c54102dd37c69.zip
FreeBSD-src-8cc0b6538da5b4f869b6f3dac62c54102dd37c69.tar.gz
The -x <format> 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 <Joerg dot Pulz at frm2 dot tum dot de> PR: conf/88293
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.initdiskless2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless
index 1b40f3b..e18add0 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
OpenPOWER on IntegriCloud