From 34a425dcd002602d1f82ca540d498a3f940d1bdb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 25 Nov 2003 09:25:36 +0000 Subject: - nvidia.clp support - handle umounting failure by remounting what can be and calling mdk_totem again (which will hopefully tell what program did make umounting fail) --- move/tree/mdk_behind_totem | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'move/tree') diff --git a/move/tree/mdk_behind_totem b/move/tree/mdk_behind_totem index c12bf5d7d..e098f0196 100755 --- a/move/tree/mdk_behind_totem +++ b/move/tree/mdk_behind_totem @@ -41,8 +41,10 @@ umount_cd() { losetup -d /dev/$boot_loop ln -sf /image_always/lib / - umount /image - /image_always/sbin/losetup -d /dev/$main_loop + + umount /image && \ + /image_always/sbin/losetup -d /dev/$main_loop || { mount_cd; kill $totem_pid; exec mdk_totem; } + /image_always/usr/bin/eject } @@ -56,7 +58,7 @@ mount_cd() { ln -sf /image/lib / - mdk_move_loop to_cdrom always always_i18n totem + mdk_move_loop to_cdrom always always_i18n totem nvidia } while [ -e "/proc/$totem_pid" ]; do -- cgit v1.2.1