RO-remount with -f flag.

This commit is contained in:
Kolan Sh 2012-08-09 19:01:46 +04:00
parent 1e8601c164
commit 23ab2315d8
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ fi
if [ 20 -eq $STAGE ]; then
echo "======= STAGE $STAGE: remounting file systems rw->ro ======="
for fs in $RO_REMOUNT; do
mount -o remount,ro $fs
mount -f -o remount,ro $fs
[ 0 -ne $? ] && echo "Stage $STAGE: mount -o remount,ro $fs failed ;-( =======" && exit $STAGE
done