At several places in docs old mountpoint for debugfs is mentioned.
The patch just corrects these misprints.
--- ./doc/blktrace.tex.debugfs 2007-02-07 03:38:39.000000000 +0300
+++ ./doc/blktrace.tex 2007-02-07 05:35:44.000000000 +0300
@@ -107,20 +107,20 @@ Install the new kernel (and modules\ldot
\subsection{\label{sec:mount}Mounting the debugfs file system}
blktrace utilizes files under the debug file system, and thus must have
-the mount point set up -- mounted on the directory /debug. To do this
-one may do either of the following:
+the mount point set up -- mounted on the directory /sys/kernel/debug.
+To do this one may do either of the following:
\begin{enumerate}
\item Manually mount after each boot:
\begin{verbatim}
-% mount -t debugfs debugfs /debug
+% mount -t debugfs debugfs /sys/kernel/debug
\end{verbatim}
\item Add an entry into /etc/fstab, and have it done automatically at
each boot\footnote{Note: after adding the entry to /etc/fstab, you
- could then mount the directory this time only by doing: \% mount /relay}:
+ could then mount the directory this time only by doing: \% mount debug}:
\begin{verbatim}
-debug /debug debugfs default 0 0
+debug /sys/kernel/debug debugfs default 0 0
\end{verbatim}
\end{enumerate}
@@ -341,8 +341,8 @@ of the more arcane command line options:
\item blktrace receives data from the kernel in buffers passed up
through the debug file system (relay). Each device being traced has
a file created in the mounted directory for the debugfs, which defaults
- to \emph{/debug} -- this can be overridden with the \emph{-r} command
- line argument.
+ to \emph{/sys/kernel/debug} -- this can be overridden with the \emph{-r}
+ command line argument.
\item blktrace defaults to collecting \emph{all} events that can be
traced. To limit the events being captured, you can specify one or
--- ./README.debugfs 2007-02-07 03:38:39.000000000 +0300
+++ ./README 2007-02-07 05:21:01.000000000 +0300
@@ -39,7 +39,7 @@ $ blktrace -d <dev> [ -r debug_path ] [
[ -a action ] [ -A action mask ]
-d Use specified device. May also be given last after options.
- -r Path to mounted debugfs, defaults to /debug.
+ -r Path to mounted debugfs, defaults to /sys/kernel/debug.
-o File(s) to send output to.
-D Directory to prepend to output file names.
-k Kill running trace.
--- ./blktrace.c.debugfs 2007-02-07 03:38:39.000000000 +0300
+++ ./blktrace.c 2007-02-07 05:21:45.000000000 +0300
@@ -1751,7 +1751,7 @@ static char usage_str[] = \
"-d <dev> [ -r debugfs path ] [ -o <output> ] [-k ] [ -w time ]\n" \
"[ -a action ] [ -A action mask ] [ -v ]\n\n" \
"\t-d Use specified device. May also be given last after options\n" \
- "\t-r Path to mounted debugfs, defaults to /debug\n" \
+ "\t-r Path to mounted debugfs, defaults to /sys/kernel/debug\n" \
"\t-o File(s) to send output to\n" \
"\t-D Directory to prepend to output file names\n" \
"\t-k Kill a running trace\n" \