Changeset 2133 in MondoRescue


Ignore:
Timestamp:
Jan 25, 2009, 11:55:28 AM (15 years ago)
Author:
Bruno Cornec
Message:

Exclude in the file list all FS of type proc and sysf (newer kernel crash when accessing kcore in /proc, even in a bind mounted proc - Cf: https://qa.mandriva.com/show_bug.cgi?id=46523 - Should solve #306

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/common/libmondo-filelist.c

    r2104 r2133  
    14051405        // 2.6 has /sys as a proc-type thing -- must be excluded
    14061406        asprintf(&strtmp,
    1407              "find %s -maxdepth %d -fstype mvfs -prune -o -path /dev/shm -prune -o %s -type d -print > %s 2> /dev/null",
     1407             "find %s -maxdepth %d -fstype mvfs -prune -o -path /dev/shm -prune -o -fstype proc -prune -o -fstype sysfs -prune -o %s -type d -print > %s 2> /dev/null",
    14081408             dir, MAX_SKEL_DEPTH, find_excludes, g_skeleton_filelist);
    14091409#else
Note: See TracChangeset for help on using the changeset viewer.