FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-12-2010, 11:03 PM
Hans de Goede
 
Default Raise an exception when /etc/fstab contradicts detected fs type (#536906)

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org