summaryrefslogtreecommitdiff
path: root/package/cfgfs/src/fwcf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/cfgfs/src/fwcf.sh')
-rw-r--r--package/cfgfs/src/fwcf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/cfgfs/src/fwcf.sh b/package/cfgfs/src/fwcf.sh
index 6a97beb8a..fcaaf80a0 100644
--- a/package/cfgfs/src/fwcf.sh
+++ b/package/cfgfs/src/fwcf.sh
@@ -146,7 +146,7 @@ if test $1 = setup; then
mkdir /tmp/.cfgfs/root
mount --bind /etc /tmp/.cfgfs/root
mkdir /tmp/.cfgfs/temp
- mount -t tmpfs -o cfgfs /tmp/.cfgfs/temp
+ mount -t tmpfs none /tmp/.cfgfs/temp
(cd /tmp/.cfgfs/root; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf -)
unclean=0
if [[ $1 = -N ]]; then
@@ -225,7 +225,7 @@ if test $1 = commit; then
EOF
[[ $1 = -f ]] || exit 7
fi
- mount -t tmpfs -o swap /tmp/.cfgfs/temp
+ mount -t tmpfs none /tmp/.cfgfs/temp
(cd /etc; tar cf - .) | (cd /tmp/.cfgfs/temp; tar xpf -)
cd /tmp/.cfgfs/temp
find . -type f | grep -v -e '^./.cfgfs' -e '^./.rnd$' | sort | \