pseudofs (9)
Leading comments
-
Copyright (c) 2001 Dag-Erling Coïdan Smørgrav
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
...
(The comments found at the beginning of the groff file "man9/pseudofs.9freebsd".)
NAME
pseudofs
- pseudo file system construction kit
SYNOPSIS
In fs/pseudofs/pseudofs.h
DESCRIPTION
The
ifconfig
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
)
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
ifconfig
module appeared in
Fx 5.0 .
AUTHORS
The
ifconfig
module and this manual page were written by
An Dag-Erling Sm/orgrav Aq des@FreeBSD.org .