Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pseudofs(9) [debian man page]

PSEUDOFS(9)						   BSD Kernel Developer's Manual					       PSEUDOFS(9)

NAME
pseudofs -- pseudo file system construction kit SYNOPSIS
#include <fs/pseudofs/pseudofs.h> DESCRIPTION
The pseudofs module offers an abstract API for pseudo-file systems such as procfs(5) and linprocfs(5). It takes care of all the hairy bits like interfacing with the VFS system, enforcing access control, keeping track of file numbers, and cloning files and directories that are process-specific. The consumer module, i.e., the module that implements the actual guts of the file system, needs only provide the directory structure (represented by a collection of structures declared and initialized by macros provided by pseudofs) and callbacks that report file attributes or write the actual file contents into sbufs. SEE ALSO
linprocfs(5), linsysfs(5), procfs(5), sbuf(9), vnode(9) HISTORY
The pseudofs module appeared in FreeBSD 5.0. AUTHORS
The pseudofs module and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>. BSD
April 20, 2007 BSD

Check Out this Related Man Page

LINPROCFS(5)						      BSD File Formats Manual						      LINPROCFS(5)

NAME
linprocfs -- Linux process file system SYNOPSIS
linproc /compat/linux/proc linprocfs rw 0 0 DESCRIPTION
The Linux process file system, or linprocfs, emulates a subset of Linux' process file system and is required for the complete operation of some Linux binaries. The linprocfs 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 self which always refers to the process making the lookup request. Each node is a directory containing several files: 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. 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. Each node is owned by the process's user, and belongs to that user's primary group, except for the mem node, which belongs to the kmem group. FILES
/compat/linux/proc The normal mount point for the linprocfs. /compat/linux/proc/cpuinfo CPU vendor and model information in human-readable form. /compat/linux/proc/meminfo System memory information in human-readable form. /compat/linux/proc/pid A directory containing process information for process pid. /compat/linux/proc/self A directory containing process information for the current process. /compat/linux/proc/self/exe The executable image for the current process. /compat/linux/proc/self/mem The complete virtual address space of the current process. EXAMPLES
To mount a linprocfs file system on /compat/linux/proc: mount -t linprocfs linproc /compat/linux/proc SEE ALSO
mount(2), unmount(2), procfs(5), pseudofs(9) HISTORY
The linprocfs first appeared in FreeBSD 4.0. AUTHORS
The linprocfs was derived from procfs by Pierre Beyssac. This manual page was written by Dag-Erling Smorgrav, based on the procfs(5) manual page by Garrett Wollman. BSD
August 10, 1994 BSD
Man Page