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


Ignore:
Timestamp:
Jul 30, 2006, 4:06:39 PM (18 years ago)
Author:
Bruno Cornec
Message:

merge -r686:728 $SVN_M/branches/stable

File:
1 edited

Legend:

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

    r689 r729  
    13551355        // 2.6 has /sys as a proc-type thing -- must be excluded
    13561356        asprintf(&tmp,
    1357                  "find %s -maxdepth %d -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",
    1358                  dir, MAX_SKEL_DEPTH, skeleton_filelist);
     1357                "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",
     1358                 dir, MAX_SKEL_DEPTH, g_skeleton_filelist);
    13591359#else
    13601360        // On BSD, for example, /sys is the kernel sources -- don't exclude
    13611361        asprintf(&tmp,
    1362                  "find %s -maxdepth %d -path /proc -prune -o -type d -a -print > %s 2> /dev/null",
    1363                  dir, MAX_SKEL_DEPTH, skeleton_filelist);
     1362                "find %s -maxdepth %d -fstype mvfs -prune -o -path /proc -prune -o -type d -a -print > %s 2> /dev/null",
     1363                 dir, MAX_SKEL_DEPTH, g_skeleton_filelist);
    13641364#endif
    13651365        system(tmp);
Note: See TracChangeset for help on using the changeset viewer.