From e88b8b9fa6a688b4b32990e4140bfbadbdcd9483 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 17 Feb 2002 11:31:42 +0000 Subject: add some log to know why umounting /tmp/image fail --- perl-install/install_any.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/install_any.pm') 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 }; } } -- cgit v1.2.1