From a3c84cce5a19eca8f29109e98628c298fafecbeb Mon Sep 17 00:00:00 2001 From: David Lehman Date: Jun 22 2009 22:14:59 +0000 Subject: Be more careful about identifying NFS fstab entries. --- diff --git a/storage/__init__.py b/storage/__init__.py index 557deec..b159630 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -1342,7 +1342,7 @@ class FSSet(object): elif devspec.startswith("/dev/loop"): # FIXME: create devices.LoopDevice log.warning("completely ignoring your loop mount") - elif ":" in devspec: + elif ":" in devspec and fstype.startswith("nfs"): # NFS -- preserve but otherwise ignore device = NFSDevice(devspec, format=getFormat(fstype,