Changeset 2608


Ignore:
Timestamp:
Mar 27, 2010, 3:52:09 AM (10 years ago)
Author:
bruno
Message:
  • Try to improve exclusion of binded /proc mount with "none" fs type exclusion Cf: #397
File:
1 edited

Legend:

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

    r2573 r2608  
    13751375#if linux
    13761376        // 2.6 has /sys as a proc-type thing -- must be excluded
    1377         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 -fstype rpc_pipefs -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist);
     1377        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 -fstype rpc_pipefs -prune -o -fstype none -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist);
    13781378#else
    13791379        // On BSD, for example, /sys is the kernel sources -- don't exclude
Note: See TracChangeset for help on using the changeset viewer.