Changeset 2291 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-filelist.c
- Timestamp:
- Jul 22, 2009, 2:11:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-filelist.c
r2287 r2291 1393 1393 #if linux 1394 1394 // 2.6 has /sys as a proc-type thing -- must be excluded 1395 mr_asprintf(&strtmp, 1396 "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", 1397 dir, find_excludes, g_skeleton_filelist); 1395 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); 1398 1396 #else 1399 1397 // On BSD, for example, /sys is the kernel sources -- don't exclude 1400 mr_asprintf(&strtmp, 1401 "find '%s' -fstype mvfs -prune -o -path /proc -prune -o %s -type d -print > %s 2> /dev/null", 1402 dir, find_excludes, g_skeleton_filelist); 1398 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); 1403 1399 #endif 1404 1400 paranoid_free(find_excludes); … … 1490 1486 counter = 0; 1491 1487 uberctr++; 1492 mr_asprintf(&tmp, " %c ", 1493 special_dot_char(uberctr)); 1488 mr_asprintf(&tmp, " %c ", special_dot_char(uberctr)); 1494 1489 #ifndef _XWIN 1495 1490 if (!g_text_mode) {
Note:
See TracChangeset
for help on using the changeset viewer.