Changeset 2290 in MondoRescue for branches/2.2.9/mondo/src/common/libmondo-filelist.c
- Timestamp:
- Jul 22, 2009, 2:03:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-filelist.c
r2241 r2290 1401 1401 #if linux 1402 1402 // 2.6 has /sys as a proc-type thing -- must be excluded 1403 mr_asprintf(&strtmp, 1404 "find '%s' -fstype mvfs -prune -o -fstype devpts -prune -o -fstype tmpfs -prune -o -fstype proc -prune -o -fstype sysfs -prune -o %s -type d -print > %s 2> /dev/null", 1405 dir, find_excludes, g_skeleton_filelist); 1403 mr_asprintf(&strtmp, "find '%s' -fstype mvfs -prune -o -fstype devpts -prune -o -fstype tmpfs -prune -o -fstype proc -prune -o -fstype sysfs -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist); 1406 1404 #else 1407 1405 // On BSD, for example, /sys is the kernel sources -- don't exclude 1408 mr_asprintf(&strtmp, 1409 "find '%s' -fstype mvfs -prune -o -path /proc -prune -o %s -type d -print > %s 2> /dev/null", 1410 dir, find_excludes, g_skeleton_filelist); 1406 mr_asprintf(&strtmp, "find '%s' -fstype mvfs -prune -o -path /proc -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist); 1411 1407 #endif 1412 1408 paranoid_free(find_excludes); … … 1498 1494 counter = 0; 1499 1495 uberctr++; 1500 mr_asprintf(&tmp, " %c ", 1501 special_dot_char(uberctr)); 1496 mr_asprintf(&tmp, " %c ", special_dot_char(uberctr)); 1502 1497 #ifndef _XWIN 1503 1498 if (!g_text_mode) {
Note:
See TracChangeset
for help on using the changeset viewer.