diff options
author | brooks <brooks@FreeBSD.org> | 2005-10-31 21:07:14 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-10-31 21:07:14 +0000 |
commit | 8cc0b6538da5b4f869b6f3dac62c54102dd37c69 (patch) | |
tree | dd8e26670b1f35bb56ec21543bf12c81b8a930a6 /etc | |
parent | 394621d7697a376372d044fc524427a42969aa9f (diff) | |
download | FreeBSD-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.initdiskless | 2 |
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 |