Changeset 794 in MondoRescue for trunk/mondo/mondo/common/libmondo-filelist.c
- Timestamp:
- Sep 14, 2006, 1:05:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-filelist.c
r783 r794 1350 1350 // 2.6 has /sys as a proc-type thing -- must be excluded 1351 1351 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", 1353 1353 dir, MAX_SKEL_DEPTH, skeleton_filelist); 1354 1354 #else 1355 1355 // On BSD, for example, /sys is the kernel sources -- don't exclude 1356 1356 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", 1358 1358 dir, MAX_SKEL_DEPTH, skeleton_filelist); 1359 1359 #endif
Note:
See TracChangeset
for help on using the changeset viewer.