Changeset 794 in MondoRescue for trunk/mondo/mondo/common/libmondo-filelist.c


Ignore:
Timestamp:
Sep 14, 2006, 1:05:18 AM (18 years ago)
Author:
Bruno Cornec
Message:

merge -r781:793 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-filelist.c

    r783 r794  
    13501350        // 2.6 has /sys as a proc-type thing -- must be excluded
    13511351        asprintf(&tmp,
    1352                 "find %s -maxdepth %d -fstype mvfs -prune -o -path /proc -prune -o -path /sys -prune -o -path /dev/shm -prune -o -path /media/floppy -prune -o -type d -a -print > %s 2> /dev/null",
     1352                "find %s -maxdepth %d -fstype mvfs -prune -o -fstype afs -prune -o -path /proc -prune -o -path /sys -prune -o -path /dev/shm -prune -o -path /media/floppy -prune -o -type d -a -print > %s 2> /dev/null",
    13531353                 dir, MAX_SKEL_DEPTH, skeleton_filelist);
    13541354#else
    13551355        // On BSD, for example, /sys is the kernel sources -- don't exclude
    13561356        asprintf(&tmp,
    1357                 "find %s -maxdepth %d -fstype mvfs -prune -o -path /proc -prune -o -type d -a -print > %s 2> /dev/null",
     1357                "find %s -maxdepth %d -fstype mvfs -prune -o -fstype afs -prune -o -path /proc -prune -o -type d -a -print > %s 2> /dev/null",
    13581358                 dir, MAX_SKEL_DEPTH, skeleton_filelist);
    13591359#endif
Note: See TracChangeset for help on using the changeset viewer.