Douglas Schilling Landgraf
2011-Jan-01 02:25 UTC
[Libguestfs] [PATCH] Lib.pm: unknown filesystem /dev/hd{x} (cdrom)
Hi, This a purpose patch to avoid the message "unknown filesystem /dev/hdc". Where /dev/hdc is an entry in fstab for CDROM. Example of fstab: /dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0 https://bugzilla.redhat.com/show_bug.cgi?id=666577 Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com> Thanks Douglas -------------- next part -------------- A non-text attachment was scrubbed... Name: libguestfs-1.8.0-unknown-cdrom.diff Type: text/x-patch Size: 1034 bytes Desc: not available URL: <http://listman.redhat.com/archives/libguestfs/attachments/20110101/01ece7b9/attachment.bin>
Richard W.M. Jones
2011-Jan-02 19:02 UTC
[Libguestfs] [PATCH] Lib.pm: unknown filesystem /dev/hd{x} (cdrom)
Thanks Douglas for your contribution, I have pushed all three patches: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=e99ac0394acbba2923e361d84511b9646f464585 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=5cab0d6c807d8a3bf9690375c663d11a10e21656 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=f07a0b6f1e01f12db0286ae49744deee0efcb5b9 I would like to note that this Perl code is obsolete. It is still used by virt-v2v, but not by any other code. In libguestfs >= 1.6 all core inspection code was rewritten in C and is available to all languages. See: http://git.annexia.org/?p=libguestfs.git;a=blob;f=src/inspect.c;hb=HEAD Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top