summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-02-21 17:09:21 +0000
committerJeremy Katz <katzj@redhat.com>2005-02-21 17:09:21 +0000
commitb3790e80584cf9202b830f31e7c591d30ef75191 (patch)
tree76c4de69b1a90e2b5cdd40137554dd15f8e30599
parent735754ccd88f53ccb4f553afdfc85fdfc33d8e7a (diff)
downloadanaconda-b3790e80584cf9202b830f31e7c591d30ef75191.tar.gz
anaconda-b3790e80584cf9202b830f31e7c591d30ef75191.tar.xz
anaconda-b3790e80584cf9202b830f31e7c591d30ef75191.zip
2005-02-21 Jeremy Katz <katzj@redhat.com>
* fsset.py (FileSystemSet.mtab): Don't write out filesystems we haven't mounted like /dev/shm (#149091)
-rw-r--r--ChangeLog7
-rw-r--r--fsset.py2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 24999f01d..0f759b8d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-21 Jeremy Katz <katzj@redhat.com>
+
+ * fsset.py (FileSystemSet.mtab): Don't write out filesystems we
+ haven't mounted like /dev/shm (#149091)
+
+ * scripts/upd-instroot: More bogl fixing
+
2005-02-20 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version.
diff --git a/fsset.py b/fsset.py
index 3957f5cc7..abc3cf532 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1072,6 +1072,8 @@ class FileSystemSet:
format = "%s %s %s %s 0 0\n"
mtab = ""
for entry in self.entries:
+ if not entry.isMounted():
+ continue
if entry.mountpoint:
# swap doesn't end up in the mtab
if entry.fsystem.getName() == "swap":