Displaying 2 results from an estimated 2 matches for "map_md_devic".
Did you mean:
map_md_devices
2015 Mar 16
0
[PATCH] inspection: add support for systemd .mount files
...e *md_map = NULL;
+ bool is_bsd = (fs->type == OS_TYPE_FREEBSD ||
+ fs->type == OS_TYPE_NETBSD ||
+ fs->type == OS_TYPE_OPENBSD);
+
+ /* Generate a map of MD device paths listed in /etc/mdadm.conf to MD device
+ * paths in the guestfs appliance */
+ if (map_md_devices (g, &md_map) == -1) {
+ printf ("map_md_dev fail\n");
+ return -1;
+ }
+
+ char expr[512];
+ snprintf (expr, sizeof expr, "/files%s", fname);
+ entries = guestfs_aug_match (g, expr);
+ if (entries == NULL) {
+ return 0;
+ }
+
+ for (entry = entries; *entry...
2015 Mar 16
2
[PATCH] RFE: Inspection should support systemd mount units
Adds support for systemd .mount files, uses Augeas to extract mount points.
Fixes RHBZ#1113153.
Maros Zatko (1):
inspection: add support for systemd .mount files
src/inspect-fs-unix.c | 240 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 240 insertions(+)
--
1.9.3