Re: [PATCH] Raise an exception when /etc/fstab contradicts detected fs type (#536906)

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

 



Ack.

(although I do wonder if we should not maybe catch this somewhere and
 do, well, erm, something with it? )

On 01/13/2010 12:40 AM, David Lehman wrote:
---
  storage/__init__.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 3eb1f66..6d9634b 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1560,7 +1560,7 @@ class FSSet(object):
          # the device's format we found matches what's in the fstab
          fmt = getFormat(fstype, device=device.path)
          if fmt.type != device.format.type:
-            log.warning("scanned format (%s) differs from fstab "
+            raise StorageError("scanned format (%s) differs from fstab "
                          "format (%s)" % (device.format.type, fstype))

          if device.format.mountable:

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[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