Changeset 729 in MondoRescue for trunk/mondo/mondo/common/libmondo-filelist.c
- Timestamp:
- Jul 30, 2006, 4:06:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-filelist.c
r689 r729 1355 1355 // 2.6 has /sys as a proc-type thing -- must be excluded 1356 1356 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); 1359 1359 #else 1360 1360 // On BSD, for example, /sys is the kernel sources -- don't exclude 1361 1361 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); 1364 1364 #endif 1365 1365 system(tmp);
Note:
See TracChangeset
for help on using the changeset viewer.