From: Douglas Schilling Landgraf Date: Sun, 2 Jan 2011 18:52:52 +0000 (+0000) Subject: Lib.pm: avoid message "unknown filesystem /dev/fd0" (RHBZ#666577) X-Git-Tag: 1.9.2~10 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=e99ac0394acbba2923e361d84511b9646f464585;p=libguestfs.git Lib.pm: avoid message "unknown filesystem /dev/fd0" (RHBZ#666577) 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 Thanks Douglas --- diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 317c9b7..4e5c506 100644 --- a/perl/lib/Sys/Guestfs/Lib.pm +++ b/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 ();