diff options
author | brooks <brooks@FreeBSD.org> | 2005-10-31 22:00:44 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-10-31 22:00:44 +0000 |
commit | f45d60a425879f7f0c40995ec5cd8097c5dad643 (patch) | |
tree | ae98580adc47f4da12b2ccf066d7fd33fce15c1a /etc | |
parent | 210613fc390c204d6e0c447b264a2c9635656c8c (diff) | |
download | FreeBSD-src-f45d60a425879f7f0c40995ec5cd8097c5dad643.zip FreeBSD-src-f45d60a425879f7f0c40995ec5cd8097c5dad643.tar.gz |
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 <Joerg dot Pulz at frm2 dot tum dot de>
PR: conf/88293
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.initdiskless | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index e18add0..4e77e74 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 |