[PATCH] Fix debugfs references in docs
authorVasily Tarasov <vtaras@openvz.org>
Wed, 7 Feb 2007 13:39:15 +0000 (14:39 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Feb 2007 13:39:15 +0000 (14:39 +0100)
At several places in docs old mountpoint for debugfs is mentioned.
The patch just corrects these misprints.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
README
blktrace.c
doc/Makefile
doc/blktrace.tex

diff --git a/README b/README
index 741b8f6385aaad7d211fa6e1781b0ffe7e1a8b75..563f6d2d1ceb63bb1efa484cd1f79790a9a85006 100644 (file)
--- a/README
+++ b/README
@@ -39,7 +39,7 @@ $ blktrace -d <dev> [ -r debug_path ] [ -o output ] [ -k ] [ -w time ]
                    [ -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.
index ee8d25d4d5f56bb4c5740e5df1ec4e42e6eb9a77..359cdad07c8ad014bf35714929a114a55dde9c24 100644 (file)
@@ -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" \
index 912680cf1d70163b8f8bf2048df2924f298ab21c..0be44256e9e913236011e8c13af638debeebbcf0 100644 (file)
@@ -6,8 +6,8 @@ blktrace.tex:
        @touch blktrace.tex
 
 blktrace.pdf: blktrace.tex
-       @latex blktrace.tex > /dev/null
-       @latex blktrace.tex > /dev/null
+       @latex blktrace.tex
+       @latex blktrace.tex
        @dvipdfm -p a4 blktrace
        @rm -rf $(DOCTMP)
 
index 72f7e2eefc259e0e1de4431ca3ff9936d449623f..02ae1aa2f1e50f11566c8dc14b7136bf1709df0b 100644 (file)
@@ -107,20 +107,20 @@ Install the new kernel (and modules\ldots) and reboot.
 \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