diff options
author | Chris Lumens <clumens@redhat.com> | 2008-06-10 15:20:39 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-06-10 15:20:39 -0400 |
commit | 63a336fcd94afd4d72566e353bec8be0b5ef1526 (patch) | |
tree | 505fc888bac4566a0555aa282b047323e9e0ed76 /fsset.py | |
parent | e152488d779f41d0d3ae588e7f029ced2748e006 (diff) | |
download | anaconda-63a336fcd94afd4d72566e353bec8be0b5ef1526.tar.gz anaconda-63a336fcd94afd4d72566e353bec8be0b5ef1526.tar.xz anaconda-63a336fcd94afd4d72566e353bec8be0b5ef1526.zip |
Unmount /mnt/sysimage/dev manually since it doesn't get an entry.
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -2132,13 +2132,10 @@ MAILADDR root return ret def umountFilesystems(self, instPath, ignoreErrors = 0, swapoff = True): - # XXX remove special case - try: - isys.umount(instPath + '/proc/bus/usb', removeDir = 0) - log.info("Umount USB OK") - except: -# log.error("Umount USB Fail") - pass + # Unmount things bind mounted into the instPath here because they're + # not tracked by self.entries. + if os.path.ismount("%s/dev" % instPath): + isys.umount("%s/dev" % instPath, removeDir=0) # take a slice so we don't modify self.entries reverse = self.entries[:] |