projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to gutenprint-5.2.10
[hvlinux.git]
/
stage1
/
bootscripts
/
mountfs
diff --git
a/stage1/bootscripts/mountfs
b/stage1/bootscripts/mountfs
index
c7fd27e
..
bed8bfb
100755
(executable)
--- a/
stage1/bootscripts/mountfs
+++ b/
stage1/bootscripts/mountfs
@@
-31,12
+31,16
@@
case "$1" in
# at this point mount will automatically mount it read-only which
# is what is supposed to happen. This way no data can be written
# anymore to disk).
# at this point mount will automatically mount it read-only which
# is what is supposed to happen. This way no data can be written
# anymore to disk).
- cmd_run_nolog_box "Unmounting file systems" umount -a -d -r -v -t notmpfs,noproc
+ cmd_run_nolog_box "Unmounting file systems" \
+ umount -a -d -r -v -t notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts
if [ $? -ne 0 ]; then
exit ${EXIT_CODE_WARNING}
fi
if [ $? -ne 0 ]; then
exit ${EXIT_CODE_WARNING}
fi
+
+ # Make sure / is mounted read-only (umount bug?)
+ mount -o remount,ro /
;;
;;
-
+
*)
echo "Usage: $0 {start|stop}"
exit ${EXIT_CODE_FAILURE}
*)
echo "Usage: $0 {start|stop}"
exit ${EXIT_CODE_FAILURE}