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

[Libguestfs] [PATCH] Lib.pm: avoid message "unknown filesystem /dev/fd0"



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


Index: libguestfs-1.8.0/perl/lib/Sys/Guestfs/Lib.pm
===================================================================
--- libguestfs-1.8.0.orig/perl/lib/Sys/Guestfs/Lib.pm
+++ libguestfs-1.8.0/perl/lib/Sys/Guestfs/Lib.pm
@@ -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 ();

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