/dev/mapper paths should not be returned from C inspection APIs (RHBZ#638899).
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 25 Oct 2010 11:59:50 +0000 (12:59 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 27 Oct 2010 09:59:45 +0000 (10:59 +0100)
commit9160dee922ad0866a3f6245fb1e0ad0b2e90170c
tree204f002ce91145385a6bf6928cbed7fb4356a8b3
parentb01ef8eae1acc5105e623a25c8988bcc3326ea1c
/dev/mapper paths should not be returned from C inspection APIs (RHBZ#638899).

With this patch, /dev/mapper paths do not appear in the output
of guestfs_inspect_os, as you can see from this example:

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for a list of commands
      'man' to read the manual
      'quit' to quit the shell

Operating system: Fedora release 13 (Goddard)
/dev/vg_f13x64/lv_root mounted on /              <--- NB
/dev/vda1 mounted on /boot
src/inspect.c