RO-remount with -f flag.
This commit is contained in:
parent
1e8601c164
commit
23ab2315d8
|
@ -434,7 +434,7 @@ fi
|
||||||
if [ 20 -eq $STAGE ]; then
|
if [ 20 -eq $STAGE ]; then
|
||||||
echo "======= STAGE $STAGE: remounting file systems rw->ro ======="
|
echo "======= STAGE $STAGE: remounting file systems rw->ro ======="
|
||||||
for fs in $RO_REMOUNT; do
|
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
|
[ 0 -ne $? ] && echo "Stage $STAGE: mount -o remount,ro $fs failed ;-( =======" && exit $STAGE
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue