Pino Toscano d4dfa47158 v2v: fix and implify the internal Convert_linux:discover_modpath
First check for the existence of the directory /etc/modprobe.d, in case
using a file under it; this also skips all the other checks, since they
are not needed at all.  Also /etc/modprobe.d exists on recent Linux
versions, so let's give priority to the more common methods.
When /etc/modprobe.d does not exist, check for the file to edit using a
single list of possible files, now in order of priority, where the first
find is used without checking further for the rest.

Also, make sure all the returned paths are absolute: they are used in
Augeas paths later on, so relative paths will not do anything useful.
2016-07-01 18:13:01 +02:00
2016-01-14 17:05:57 +00:00
2016-01-02 21:19:51 +00:00
2016-07-01 15:49:17 +02:00
2016-01-02 21:19:51 +00:00
2011-11-08 14:43:07 +00:00
2016-07-01 15:49:17 +02:00
2016-07-01 15:49:17 +02:00
2016-06-23 23:10:07 +01:00
2016-03-07 17:36:24 +00:00
2016-03-07 17:36:24 +00:00
2016-06-22 18:43:51 +01:00
2016-01-02 21:19:51 +00:00
2016-06-22 18:43:51 +01:00
2016-02-22 17:55:13 +00:00
2016-06-22 18:43:51 +01:00
2016-05-03 13:21:34 +01:00
2016-07-01 12:22:05 +01:00
2016-07-01 12:22:05 +01:00
2013-01-24 15:00:49 +00:00
2016-06-17 15:13:49 +01:00
2016-07-01 12:22:05 +01:00
2016-07-01 12:22:05 +01:00
2016-05-16 12:39:25 +01:00
2016-01-20 13:42:38 +00:00
2016-05-26 11:36:20 +01: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-2016 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%