Changeset 2052 in MondoRescue for branches/2.2.8/mondo/src/common/libmondo-string.c
- Timestamp:
- Oct 23, 2008, 2:55:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/common/libmondo-string.c
r1687 r2052 862 862 return partition; 863 863 } 864 /* then see if it's a dm style device */ 865 if (c && strncmp(c, "/dm-", 5) == 0) { 866 /* yup it's dm, return the full path */ 867 return partition; 868 } 864 869 865 870 for (i = strlen(partition); isdigit(partition[i - 1]); i--)
Note:
See TracChangeset
for help on using the changeset viewer.