summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-05-08 21:45:42 +0000
committerErik Troan <ewt@redhat.com>2000-05-08 21:45:42 +0000
commitf480bcf589daa60c511d85788dced1c401403911 (patch)
treeb2e08465f0105a5b8eaaaeacf2ec97d01018cd1f /todo.py
parent9b669675aab3f9b0475b308adcedbf3475ce78b3 (diff)
downloadanaconda-f480bcf589daa60c511d85788dced1c401403911.tar.gz
anaconda-f480bcf589daa60c511d85788dced1c401403911.tar.xz
anaconda-f480bcf589daa60c511d85788dced1c401403911.zip
call hasDirtyFilesysetms()
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/todo.py b/todo.py
index a4ff291ae..74e2102c7 100644
--- a/todo.py
+++ b/todo.py
@@ -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 ()