summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-17 11:31:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-17 11:31:42 +0000
commite88b8b9fa6a688b4b32990e4140bfbadbdcd9483 (patch)
treecc06b4e2d09676566e836d8a30ee96000e5d2d9c
parente56f471429486947790e06a9dcdb998b0f884727 (diff)
downloaddrakx-backup-do-not-use-e88b8b9fa6a688b4b32990e4140bfbadbdcd9483.tar
drakx-backup-do-not-use-e88b8b9fa6a688b4b32990e4140bfbadbdcd9483.tar.gz
drakx-backup-do-not-use-e88b8b9fa6a688b4b32990e4140bfbadbdcd9483.tar.bz2
drakx-backup-do-not-use-e88b8b9fa6a688b4b32990e4140bfbadbdcd9483.tar.xz
drakx-backup-do-not-use-e88b8b9fa6a688b4b32990e4140bfbadbdcd9483.zip
add some log to know why umounting /tmp/image fail
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 9c81bb796..e01c8ecb9 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -473,6 +473,7 @@ sub ejectCdrom(;$) {
#- umount BEFORE opening the cdrom device otherwise the umount will
#- D state if the cdrom is already removed
eval { fs::umount("/tmp/image") };
+ if ($@) { log::l("files still open: ", readlink($_)) foreach glob_("/proc/self/fd/*") }
eval { ioctl detect_devices::tryOpen($cdrom), c::CDROMEJECT(), 1 };
}
}