diff options
author | Douglas Schilling Landgraf <dougsland@redhat.com> | 2011-01-02 18:52:52 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-01-02 18:57:55 +0000 |
commit | e99ac0394acbba2923e361d84511b9646f464585 (patch) | |
tree | 5bc0cd4470dbb22114371401d204cbe1ceb8fdba /perl/lib | |
parent | 62c47b74317f148338f5b85302b537a187fab199 (diff) | |
download | libguestfs-e99ac0394acbba2923e361d84511b9646f464585.tar.gz libguestfs-e99ac0394acbba2923e361d84511b9646f464585.tar.xz libguestfs-e99ac0394acbba2923e361d84511b9646f464585.zip |
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 <dougsland@redhat.com>
Thanks
Douglas
Diffstat (limited to 'perl/lib')
-rw-r--r-- | perl/lib/Sys/Guestfs/Lib.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 317c9b7b..4e5c5066 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 (); |