aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/ddb.4
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2018-06-20 08:34:29 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2018-06-20 08:34:29 +0000
commit7ffbcfe281b5c61e790b6c5ceb78517b888254b7 (patch)
treefd934ba2e3dfb19fcb9ad1bd4337d19c4fdc8a6b /share/man/man4/ddb.4
parent593d37bb8e8d9a36c6a7fd0c7df46797cb33c844 (diff)
downloadsrc-7ffbcfe281b5c61e790b6c5ceb78517b888254b7.tar.gz
src-7ffbcfe281b5c61e790b6c5ceb78517b888254b7.zip
Sometimes it is helpful to get the path for a vnode.
Implement a ddb function walking the namecache to do this. Reviewed by: jhb, mjg Inspired by: gdb macro from jhb (old version) Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D14898
Notes
Notes: svn path=/head/; revision=335437
Diffstat (limited to 'share/man/man4/ddb.4')
-rw-r--r--share/man/man4/ddb.47
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 07419894ccea..6c0d1c1cfdf8 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -60,7 +60,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 24, 2017
+.Dd June 20, 2018
.Dt DDB 4
.Os
.Sh NAME
@@ -1124,6 +1124,11 @@ Shows clean/dirty buffer lists of the vnode located at
.Ar addr .
.\"
.Pp
+.It Ic show Cm vpath Ar addr
+Walk the namecache to lookup the pathname of the vnode located at
+.Ar addr .
+.\"
+.Pp
.It Ic show Cm watches
Displays all watchpoints.
Shows watchpoints set with "watch" command.