On Tuesday 11 August 2009 13:31:01 Subrata Modak wrote: > + if [ $INJECT_KERNEL_FAULT -eq 1 ] ; then > + #See if Debugfs is mounted, and > + #Fault Injection Framework available through Debugfs > + if [ -d "/debug/fail_io_timeout" -o \ > + -d "/debug/fail_make_request" -o \ > + -d "/debug/fail_page_alloc" -o \ > + -d "/debug/failslab" ]; then
debugfs should be mounted at /sys/kernel/debug/, not /debug/. if you really want to support the latter (incorrect) location, then you should use a variable that defaults to the correct location and falls back to the /debug/ dir if it is actually mounted there. -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
