Ejecting boot.iso (again)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It seems as if we unlink /tmp/cdrom so eject fails :(

Looking at devMakeInode we already unlink the path so the following
should mean that we can eject in the error conditions reached with
boot.iso whilst preserving current behaviour when looping through the
cdroms.

Views?

Paul




Index: cdinstall.c
===================================================================
RCS file: /usr/local/CVS/anaconda/loader2/cdinstall.c,v
retrieving revision 1.30
diff -u -r1.30 cdinstall.c
--- cdinstall.c	2 Mar 2005 01:26:29 -0000	1.30
+++ cdinstall.c	16 Mar 2005 10:53:39 -0000
@@ -361,7 +361,6 @@
 		/* this wasnt the CD we were looking for, clean up and */
 		/* try the next CD drive                               */
 		umount("/mnt/source");
-                unlink("/tmp/cdrom");
             } 
         } 
 
@@ -379,6 +378,7 @@
                                  getProductName(), _("OK"));
 
             ejectCdrom();
+            unlink("/tmp/cdrom");
             rc = newtWinChoice(_("CD Not Found"),
                                _("OK"), _("Back"), buf, _("OK"));
             free(buf);

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux