Pino Toscano 751afe91e0 inspect: fix inspection of partition-less devices (RHBZ#1661038)
When parsing "xdev"-kind devices, do not assume that the partition
number can be converted to integer: re_xdev accepts an empty part of the
partition number, so just handle as it is, as string.

This fixes a regression due to the conversion of the inspection code to
OCaml, as the old C version did not have this issue.

(cherry picked from commit cf6b527824)
2019-04-11 16:39:57 +02:00
2018-08-09 16:26:58 +02:00
2018-01-04 15:30:10 +00:00
2018-08-09 16:26:58 +02:00
2018-01-04 15:30:10 +00:00
2018-02-07 18:38:13 +00:00
2018-08-09 16:26:58 +02:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-06-29 10:35:02 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-05-15 09:07:59 +01:00
2019-04-11 16:23:02 +02:00
2018-01-04 15:30:10 +00:00
2018-06-29 10:38:18 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-06-29 19:25:50 +01:00
2018-06-29 19:25:50 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-05-01 17:45:02 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2013-01-24 15:00:49 +00:00
2018-06-29 19:25:50 +01:00
2017-01-26 15:05:46 +00:00
2018-02-09 09:39:00 +00:00
2018-01-04 15:30:10 +00:00
2018-08-09 15:23:38 +01:00
2018-01-04 15:30:10 +00:00
2016-02-10 14:15:05 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2018 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%