Changeset 702 in MondoRescue for branches/stable/mondo/mondo/common/libmondo-filelist.c
- Timestamp:
- Jul 22, 2006, 1:59:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-filelist.c
r681 r702 1525 1525 // 2.6 has /sys as a proc-type thing -- must be excluded 1526 1526 sprintf(tmp, 1527 "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",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", 1528 1528 dir, MAX_SKEL_DEPTH, g_skeleton_filelist); 1529 1529 #else 1530 1530 // On BSD, for example, /sys is the kernel sources -- don't exclude 1531 1531 sprintf(tmp, 1532 "find %s -maxdepth %d - path /proc -prune -o -type d -a -print > %s 2> /dev/null",1532 "find %s -maxdepth %d -fstype mvfs -prune -o -path /proc -prune -o -type d -a -print > %s 2> /dev/null", 1533 1533 dir, MAX_SKEL_DEPTH, g_skeleton_filelist); 1534 1534 #endif
Note:
See TracChangeset
for help on using the changeset viewer.