--- /etc/init.d/umountroot.~1~ 2006-01-09 20:09:39.000000000 +0100 +++ /etc/init.d/umountroot 2006-02-21 14:41:21.000000000 +0100 @@ -21,7 +21,7 @@ do_stop () { [ "$VERBOSE" != no ] && log_action_begin_msg "Mounting root filesystem read-only" - mount -n -o remount,ro / + mount -n -o remount,ro $(mount | grep ' on / ' | /usr/bin/cut -d\ -f1) [ "$VERBOSE" != no ] && log_action_end_msg $? }