summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-03-25 14:03:31 +0000
committerdes <des@FreeBSD.org>2000-03-25 14:03:31 +0000
commitcfc69d4ffab7e035d5cd669692de7e3328753967 (patch)
treeabc79ab5eb4a1ba97cc8fb6962a2b1dca9c163c5 /share
parent91330f1a8ae39cbd39087d5ac36afb69a0592c37 (diff)
downloadFreeBSD-src-cfc69d4ffab7e035d5cd669692de7e3328753967.zip
FreeBSD-src-cfc69d4ffab7e035d5cd669692de7e3328753967.tar.gz
Add a manpage for linprocfs.
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/Makefile6
-rw-r--r--share/man/man5/linprocfs.592
2 files changed, 95 insertions, 3 deletions
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index a4c9d4a..6a85d05 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -5,9 +5,9 @@
MAN5= a.out.5 acct.5 core.5 devfs.5 dir.5 disktab.5 ethers.5 \
elf.5 fbtab.5 fdesc.5 forward.5 fs.5 fstab.5 group.5 \
hosts.5 hosts.equiv.5 hosts.lpd.5 intro.5 kernfs.5 link.5 \
- mailer.conf.5 motd.5 networks.5 passwd.5 pbm.5 phones.5 \
- procfs.5 protocols.5 rc.conf.5 remote.5 resolver.5 services.5 \
- shells.5 stab.5 sysctl.conf.5 types.5 utmp.5
+ linprocfs.5 mailer.conf.5 motd.5 networks.5 passwd.5 pbm.5 \
+ phones.5 procfs.5 protocols.5 rc.conf.5 remote.5 resolver.5 \
+ services.5 shells.5 stab.5 sysctl.conf.5 types.5 utmp.5
MLINKS= dir.5 dirent.5
MLINKS+=fs.5 inode.5
diff --git a/share/man/man5/linprocfs.5 b/share/man/man5/linprocfs.5
new file mode 100644
index 0000000..76dbc58
--- /dev/null
+++ b/share/man/man5/linprocfs.5
@@ -0,0 +1,92 @@
+.\" $FreeBSD$
+.\" Written by Garrett Wollman
+.\" This file is in the public domain.
+.\"
+.Dd August 10, 1994
+.Dt LINPROCFS 5
+.Os BSD 4.4
+.Sh NAME
+.Nm linprocfs
+.Nd Linux process file system
+.Sh SYNOPSIS
+.Bd -literal
+linproc /compat/linux/proc linprocfs rw 0 0
+.Ed
+.Sh DESCRIPTION
+The Linux process file system, or
+.Nm linprocfs ,
+emulates a subset of Linux' process file system and is required for
+the complete operation of some Linux binaries.
+.Pp
+The
+.Nm
+provides a two-level view of process space.
+At the highest level, processes themselves are named, according to
+their process ids in decimal, with no leading zeros. There is also a
+special node called
+.Pa self
+which always refers to the process making the lookup request.
+.Pp
+Each node is a directory which contains the following entries:
+.Pp
+Each directory contains several files:
+.Bl -tag -width status
+.It Pa exe
+A reference to the vnode from which the process text was read.
+This can be used to gain access to the process' symbol table,
+or to start another copy of the process.
+.It Pa mem
+The complete virtual memory image of the process.
+Only those addresses which exist in the process can be accessed.
+Reads and writes to this file modify the process.
+Writes to the text segment remain private to the process.
+.El
+.Pp
+Each node is owned by the process's user, and belongs to that user's
+primary group, except for the
+.Pa mem
+node, which belongs to the
+.Li kmem
+group.
+.Sh FILES
+.Bl -tag -width /compat/linux/proc/self/XXXXXXX -compact
+.It Pa /compat/linux/proc
+normal mount point for the
+.Nm linprocfs .
+.It Pa /compat/linux/proc/cpuinfo
+CPU vendor and model information in human-readable form.
+.It Pa /compat/linux/proc/meminfo
+System memory information in human-readable form.
+.It Pa /compat/linux/proc/pid
+directory containing process information for process
+.Pa pid .
+.It Pa /compat/linux/proc/self
+directory containing process information for the current process
+.It Pa /compat/linux/proc/self/exe
+executable image
+.It Pa /compat/linux/proc/curproc/mem
+the complete virtual address space of the process
+.El
+.Sh SEE ALSO
+.Xr mount 2 ,
+.Xr unmount 2 ,
+.Xr procfs 5 ,
+.Xr mount_linprocfs 8
+.Sh AUTHORS
+The
+.Nm
+was derived from
+.Nm procfs
+by
+.An Pierre Beyssac .
+This manual page was written by
+.An Dag-Erling Smørgrav ,
+based on the
+.Xr procfs 5
+manual page by
+.An Garrett Wollman .
+.Sh HISTORY
+The
+.Nm
+first appeared in
+.Fx 4.0 .
OpenPOWER on IntegriCloud