Changeset 336 in MondoRescue for branches/stable/mondo
- Timestamp:
- Jan 19, 2006, 11:32:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-filelist.c
r332 r336 1534 1534 // 2.6 has /sys as a proc-type thing -- must be excluded 1535 1535 sprintf(tmp, 1536 "find %s -maxdepth %d -path /proc -prune -o -path -prune -o -path/sys -prune -o -path /dev/shm -prune -o -path /media/floppy -prune -o -type d -a -print > %s 2> /dev/null",1536 "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", 1537 1537 dir, MAX_SKEL_DEPTH, g_skeleton_filelist); 1538 1538 #else 1539 1539 // On BSD, for example, /sys is the kernel sources -- don't exclude 1540 1540 sprintf(tmp, 1541 "find %s -maxdepth %d -path /proc -prune -o - path -prune -o -type d -a -print > %s 2> /dev/null",1541 "find %s -maxdepth %d -path /proc -prune -o -type d -a -print > %s 2> /dev/null", 1542 1542 dir, MAX_SKEL_DEPTH, g_skeleton_filelist); 1543 1543 #endif
Note:
See TracChangeset
for help on using the changeset viewer.