Changeset 3152 in MondoRescue for branches/3.0/mondo/src/common/libmondo-devices.c
- Timestamp:
- Jun 22, 2013, 8:15:23 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-devices.c
r3150 r3152 1907 1907 /* Found the Volume Group. Now find all of the VG's mount points */ 1908 1908 log_msg(4, " Found the Volume Group. Now find all of the VG's mount points"); 1909 mr_asprintf(&command, "mount 2>/dev/null|grep -E \"/dev/mapper/%s -|/dev/%s/\"|awk '{printf(\"%%s \",$3)}END{print \"\"}'", VG, VG);1909 mr_asprintf(&command, "mount 2>/dev/null|grep -E \"/dev/mapper/%s|/dev/%s/\"|awk '{printf(\"%%s \",$3)}END{print \"\"}'", VG, VG); 1910 1910 log_msg(5, " Running: %s", command); 1911 1911 mr_asprintf(&mount_list, "%s", call_program_and_get_last_line_of_output(command));
Note:
See TracChangeset
for help on using the changeset viewer.