Ignore:
Timestamp:
Sep 13, 2006, 2:51:47 PM (18 years ago)
Author:
Bruno Cornec
Message:

AFS support added

File:
1 edited

Legend:

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

    r702 r787  
    15251525        // 2.6 has /sys as a proc-type thing -- must be excluded
    15261526        sprintf(tmp,
    1527                 "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",
     1527                "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",
    15281528                dir, MAX_SKEL_DEPTH, g_skeleton_filelist);
    15291529#else
    15301530        // On BSD, for example, /sys is the kernel sources -- don't exclude
    15311531        sprintf(tmp,
    1532                 "find %s -maxdepth %d -fstype mvfs -prune -o -path /proc -prune -o -type d -a -print > %s 2> /dev/null",
     1532                "find %s -maxdepth %d -fstype mvfs -prune -o -fstype afs -prune -o -path /proc -prune -o -type d -a -print > %s 2> /dev/null",
    15331533                dir, MAX_SKEL_DEPTH, g_skeleton_filelist);
    15341534#endif
Note: See TracChangeset for help on using the changeset viewer.