diff options
author | Erik Troan <ewt@redhat.com> | 2000-05-08 21:45:42 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-05-08 21:45:42 +0000 |
commit | f480bcf589daa60c511d85788dced1c401403911 (patch) | |
tree | b2e08465f0105a5b8eaaaeacf2ec97d01018cd1f /todo.py | |
parent | 9b669675aab3f9b0475b308adcedbf3475ce78b3 (diff) | |
download | anaconda-f480bcf589daa60c511d85788dced1c401403911.tar.gz anaconda-f480bcf589daa60c511d85788dced1c401403911.tar.xz anaconda-f480bcf589daa60c511d85788dced1c401403911.zip |
call hasDirtyFilesysetms()
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -13,6 +13,7 @@ elif arch == "ia64": import string import socket import crypt +import sys import whrandom import pcmcia import _balkan @@ -703,6 +704,16 @@ class ToDo: fstab.readFstab('/mnt/sysimage/etc/fstab', self.fstab) isys.umount('/mnt/sysimage') raid.stopAllRaid(mdList) + + if self.fstab.hasDirtyFilesystems(): + win.pop() + todo.intf.messageWindow(("Dirty Filesystems"), + _("One or more of the filesystems for your Linux system " + "was not unmounted cleanly. Please boot your Linux " + "installation, let the filesystems be checked, and " + "shut down cleanly to upgrade.")) + sys.exit(0) + self.fstab.mountFilesystems (self.instPath) self.fstab.turnOnSwap(formatSwap = 0) self.getCompsList () |