Lib.pm: avoid message "unknown filesystem /dev/fd0" (RHBZ#666577)
authorDouglas Schilling Landgraf <dougsland@redhat.com>
Sun, 2 Jan 2011 18:52:52 +0000 (18:52 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sun, 2 Jan 2011 18:57:55 +0000 (18:57 +0000)
This patch to avoid the message "unknown filesystem /dev/fd0".
https://bugzilla.redhat.com/show_bug.cgi?id=666577

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Thanks
Douglas

perl/lib/Sys/Guestfs/Lib.pm

index 317c9b7..4e5c506 100644 (file)
@@ -929,6 +929,7 @@ sub _find_filesystem
         }
 
         return () if m{/dev/cdrom};
+        return () if m{/dev/fd0};
 
         warn __x("unknown filesystem {fs}\n", fs => $_);
         return ();