Hi,
Since -f is not available for mount on GNU/Linux (well, it is, but doesn't have
the "force" meaning), could you conditionalise it and pass -f for GNU/kFreeBSD ?
Patch follows:
--- /etc/init.d/umountroot~ 2005-11-18 16:51:59.000000000 +0100
+++ /etc/init.d/umountroot 2005-12-30 21:16:42.579833600 +0100
@@ -21,7 +21,10 @@
do_stop () {
[ "$VERBOSE" != no ] && log_action_begin_msg "Mounting root filesystem
read-only"
- mount -n -o remount,ro /
+ if [ "`uname -s`" = "GNU/kFreeBSD" ] ; then
+ force="-f"
+ fi
+ mount ${force} -n -o remount,ro /
[ "$VERBOSE" != no ] && log_action_end_msg $?
}
--
Robert Millan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]