Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sbin/mount_procfs Pull up revision 1.22 (requested by a...



details:   https://anonhg.NetBSD.org/src/rev/ae868b2aec74
branches:  netbsd-1-6
changeset: 527696:ae868b2aec74
user:      tv <tv%NetBSD.org@localhost>
date:      Sun Jun 02 15:35:11 2002 +0000

description:
Pull up revision 1.22 (requested by atatat in ticket #113):
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 fb86d862e14c -r ae868b2aec74 sbin/mount_procfs/mount_procfs.8
--- a/sbin/mount_procfs/mount_procfs.8  Sun Jun 02 15:34:00 2002 +0000
+++ b/sbin/mount_procfs/mount_procfs.8  Sun Jun 02 15:35:11 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.21.2.1 2002/06/02 15:35:11 tv 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