diff options
author | jkh <jkh@FreeBSD.org> | 1998-12-06 04:06:39 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-12-06 04:06:39 +0000 |
commit | 3b716d369cea7cb4fdd59b9e5465fd447fdb5d4e (patch) | |
tree | 3b0c3d272fb9103f952fe70ff7bb5d36182582aa /release/scripts/doFS.sh | |
parent | e2a1b1bb3b772de7b9a89bd485deb2f7ba241aaf (diff) | |
download | FreeBSD-src-3b716d369cea7cb4fdd59b9e5465fd447fdb5d4e.zip FreeBSD-src-3b716d369cea7cb4fdd59b9e5465fd447fdb5d4e.tar.gz |
Put mfsroot.gz on yet another filesystem so that the boot blocks
can really read it. Hmm. I have no idea *how* this worked in our
earlier tests on the x86. :)
Diffstat (limited to 'release/scripts/doFS.sh')
-rw-r--r-- | release/scripts/doFS.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/doFS.sh b/release/scripts/doFS.sh index 74bab09..50d1c84 100644 --- a/release/scripts/doFS.sh +++ b/release/scripts/doFS.sh @@ -49,7 +49,11 @@ do mount /dev/${VNDEVICE}c ${MNT} - ( set -e && cd ${FSPROTO} && find . -print | cpio -dump ${MNT} ) + if [ -d ${FSPROTO} ]; then + (set -e && cd ${FSPROTO} && find . -print | cpio -dump ${MNT}) + else + cp -p ${FSPROTO} ${MNT} + fi df -ki /mnt |