Deleted Added
full compact
pseudofs.9 (87356) pseudofs.9 (107788)
1.\"-
2.\" Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\"-
2.\" Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man9/pseudofs.9 87356 2001-12-04 14:28:38Z des $
26.\" $FreeBSD: head/share/man/man9/pseudofs.9 107788 2002-12-12 17:26:04Z ru $
27.\"
28.Dd September 30, 2001
29.Dt PSEUDOFS 9
30.Os
31.Sh NAME
32.Nm pseudofs
27.\"
28.Dd September 30, 2001
29.Dt PSEUDOFS 9
30.Os
31.Sh NAME
32.Nm pseudofs
33.Nd pseudo-filesystem construction kit
33.Nd pseudo file system construction kit
34.Sh SYNOPSIS
35.In fs/pseudofs/pseudofs.h
36.\" Insert usage example here
37.Sh DESCRIPTION
38The
39.Nm
34.Sh SYNOPSIS
35.In fs/pseudofs/pseudofs.h
36.\" Insert usage example here
37.Sh DESCRIPTION
38The
39.Nm
40module offers an abstract API for pseudo-filesystems such as
40module offers an abstract API for pseudo-file systems such as
41.Xr procfs 5
42and
43.Xr linprocfs 5 .
44It takes care of all the hairy bits like interfacing with the VFS
45system, enforcing access control, keeping track of file numbers, and
46cloning files and directories that are process-specific.
47The consumer module, i.e. the module that implements the actual guts
41.Xr procfs 5
42and
43.Xr linprocfs 5 .
44It takes care of all the hairy bits like interfacing with the VFS
45system, enforcing access control, keeping track of file numbers, and
46cloning files and directories that are process-specific.
47The consumer module, i.e. the module that implements the actual guts
48of the filesystem, needs only provide the directory structure
48of the file system, needs only provide the directory structure
49(represented by a collection of structures declared and initialized by
50macros provided by
51.Nm )
52and callbacks that report file attributes or write the actual file
53contents into sbufs.
54.\" Insert more info here
55.Sh SEE ALSO
56.Xr linprocfs 5 ,

--- 13 unchanged lines hidden ---
49(represented by a collection of structures declared and initialized by
50macros provided by
51.Nm )
52and callbacks that report file attributes or write the actual file
53contents into sbufs.
54.\" Insert more info here
55.Sh SEE ALSO
56.Xr linprocfs 5 ,

--- 13 unchanged lines hidden ---