Move romount to mount-ro and use the umount -r option as it's more reliable for / --bind mounts, Gentoo #239922. Thanks to Duncan.

This commit is contained in:
Roy Marples
2008-11-04 11:30:15 +00:00
parent 45044c9239
commit 42e6a95b1d
5 changed files with 6 additions and 6 deletions

View File

@@ -28,11 +28,11 @@ do_unmount()
mountinfo --quiet "${mnt}" || continue
case "${cmd}" in
umount*)
umount)
ebegin "Unmounting ${mnt}"
;;
*)
ebegin "Remounting ${mnt}"
ebegin "Remounting ${mnt} read only"
;;
esac