Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount_procfs Add descriptions of the "self" symbolic li...



details:   https://anonhg.NetBSD.org/src/rev/9ca4d34b4d3a
branches:  trunk
changeset: 532111:9ca4d34b4d3a
user:      atatat <atatat%NetBSD.org@localhost>
date:      Fri May 31 16:48:28 2002 +0000

description:
Add descriptions of the "self" symbolic link and the "maps" pseudo file.
Also note the kernel option that is required in order to get pathnames
with file backed entries in the "maps" pseudo file.

diffstat:

 sbin/mount_procfs/mount_procfs.8 |  17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diffs (53 lines):

diff -r 59b15e74b4e3 -r 9ca4d34b4d3a sbin/mount_procfs/mount_procfs.8
--- a/sbin/mount_procfs/mount_procfs.8  Fri May 31 16:45:16 2002 +0000
+++ b/sbin/mount_procfs/mount_procfs.8  Fri May 31 16:48:28 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mount_procfs.8,v 1.21 2002/02/08 01:30:45 ross Exp $
+.\"    $NetBSD: mount_procfs.8,v 1.22 2002/05/31 16:48:28 atatat Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -82,9 +82,13 @@
 contains an entry for each active process.
 These processes are visible as a directory whose
 name is the process' pid.
-In addition, the special entry
+In addition, the special entries
 .Pa curproc
-references the current process.
+and
+.Pa self
+reference the current process.  The
+.Pa self
+symlink appears for compatibility with the Linux procfs implementation.
 .Pp
 Each directory contains several files.
 .Bl -tag -width status
@@ -132,6 +136,11 @@
 or to start another copy of the process.
 .It Pa map
 A map of the process' virtual memory.
+.It Pa maps
+A map of the process' virtual memory in a form like the
+proc filesystem as implemented in Linux.  Note that the paths
+corresponding to file backed mappings will not be present unless
+the kernel was built with the NAMECACHE_ENTER_REVERSE option.
 .It Pa mem
 The complete virtual memory image of the process.
 Only those addresses which exist in the process can be accessed.
@@ -232,6 +241,7 @@
 .It Pa /proc/#/ctl
 .It Pa /proc/#/file
 .It Pa /proc/#/map
+.It Pa /proc/#/maps
 .It Pa /proc/#/mem
 .It Pa /proc/#/note
 .It Pa /proc/#/notepg
@@ -239,6 +249,7 @@
 .It Pa /proc/#/fpregs
 .It Pa /proc/#/status
 .It Pa /proc/curproc
+.It Pa /proc/self
 .El
 .Pp
 If the



Home | Main Index | Thread Index | Old Index