Ignore:
Timestamp:
Apr 29, 2011, 3:37:35 PM (9 years ago)
Author:
Bruno Cornec
Message:

r2161@localhost (orig r2160): bruno | 2009-03-06 10:53:57 +0100

  • Exclude filesystems type ptmpfs and devpts from being parsed. Should solve aproblem seen with large /dev/shm being backed up.


File:
1 edited

Legend:

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

    r2133 r2791  
    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 -fstype proc -prune -o -fstype sysfs -prune -o %s -type d -print > %s 2> /dev/null",
     1407             "find %s -maxdepth %d -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",
    14081408             dir, MAX_SKEL_DEPTH, find_excludes, g_skeleton_filelist);
    14091409#else
Note: See TracChangeset for help on using the changeset viewer.