summaryrefslogtreecommitdiff
path: root/static/unix-v10/man4/tbl.4
blob: bd69ef31a7177abebc898f6badb6cace9f092dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.TH TBL 4
.CT 2 tbl_man
.SH NAME
tbl \- kernel table file system
.SH DESCRIPTION
.I Tbl
is a file-system mount point that provides access to kernel data tables.
The name of each entry in the
.F /tbl
directory is the name of a directory
containing files that describe a kernel data table.
These files have the following names and contents:
.PP
.RS
.TF count
.TP
.B base
system base address of the table
.TP
.B count
number of elements in the table
.TP
.B data
table contents
.TP
.B size
size of a table element
.RE
.PD
.PP
The standard system-call interface is used to access
.IR tbl .
.IR Open (2)
and
.IR close (2)
behave as usual.
Data may be transferred
from or to any locations in the ``data'' file through
.I lseek,
.I read,
and
.IR write (2).
.PP
The following header files are useful in analyzing
.I tbl
``data'' files:
.PP
.RS
.TF <sys/param.h>
.TP
.B <sys/file.h>
``file'' structure
.TP
.B <sys/inode.h>
``inode'' structure
.TP
.B <sys/lnode.h>
``lnode'' structure
.TP
.B <sys/param.h>
size parameters
.TP
.B <sys/proc.h>
``proc'' structure
.TP
.B <sys/stream.h>
``stream'', ``block'', and ``queue'' structures
.TP
.B <sys/text.h>
``text'' structure
.TP
.B <sys/types.h>
special system types
.PD
.RE
.SH FILES
.F /tbl/*/base
.br
.F /tbl/*/count
.br
.F /tbl/*/data
.br
.F /tbl/*/size
.SH SEE ALSO
.IR fmount (2),
.IR tblmount (8),
.SH BUGS
The
.I super-user
may write on any file, despite the permissions.