File: rtlinux.1.html

package info (click to toggle)
rtlinux 3.1pre3-3
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 4,896 kB
  • ctags: 4,228
  • sloc: ansic: 26,204; sh: 2,069; makefile: 1,414; perl: 855; tcl: 489; asm: 380; cpp: 42
file content (230 lines) | stat: -rw-r--r-- 3,699 bytes parent folder | download | duplicates (2)
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<HTML
><HEAD
><TITLE
>rtlinux</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"></HEAD
><BODY
CLASS="REFENTRY"
><H1
><A
NAME="AEN1"
>rtlinux</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN5"
></A
><H2
>Name</H2
>rtlinux&nbsp;--&nbsp;script used to start RTLinux and load associated RTLinux modules </DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN8"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>	<TT
CLASS="FUNCTION"
>rtlinux</TT
> <TT
CLASS="PARAMETER"
><I
>{start,stop,status} [user_modules]</I
></TT
>
    </PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12"
></A
><H2
>DESCRIPTION</H2
><DIV
CLASS="WARNING"
><P
></P
><TABLE
CLASS="WARNING"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Warning</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>This tool is in its beta testing stages.  Use with
    caution.</P
></TD
></TR
></TABLE
></DIV
><P
>       <TT
CLASS="FUNCTION"
>rtlinux</TT
> is a SysV compatible script used
       to install, remove, or get status information for either/both
       RTLinux and the user's module(s).
    </P
><P
><TT
CLASS="FUNCTION"
>rtlinux</TT
> is a tool that is used to
    insert, remove, and obtain status information about both the
    RTLinux modules and the user's module or modules according to the
    options specified in the command line.  If no user modules are
    listed, then only RTLinux modules are operated upon.</P
><P
>The script file <TT
CLASS="FUNCTION"
>rtlinux</TT
> inserts the
       modules into kernel space if <TT
CLASS="PARAMETER"
><I
>start</I
></TT
> is
       specified as an option.  The script then checks whether the
       module was inserted based on the output of the
       <B
CLASS="COMMAND"
>lsmod(8)</B
> command.</P
><P
>The script file <TT
CLASS="FUNCTION"
>rtlinux</TT
> will remove all
       the specified modules from the kernel if the
       <TT
CLASS="PARAMETER"
><I
>stop</I
></TT
> option is specified as an option.
       The script checks to make sure that the modules were suc-
       cessfully removed based on the output of the lsmod com-
       mand.</P
><P
>The script file will report whether or not the modules are
       inserted in the kernel if the <TT
CLASS="PARAMETER"
><I
>status</I
></TT
>
       option is specified.  This information is based on the output
       of the <B
CLASS="COMMAND"
>lsmod(8)</B
> command.</P
><P
>The optional list, <TT
CLASS="PARAMETER"
><I
>user_modules</I
></TT
>, is a
    space separated list of the user's modules, without the
    <I
CLASS="EMPHASIS"
>.o</I
> extension. By default, the script assumes
    that they end with an <TT
CLASS="FILENAME"
>.o</TT
> extension.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN34"
></A
><H2
>EXAMPLES</H2
><P
>The following example demonstrates a typical usage of
       rtlinux.  It inserts the user's modules banshee.o and
       beenshee.o along with the RTLinux kernel:</P
><P
><TT
CLASS="USERINPUT"
><B
>rtlinux start banshee beenshee</B
></TT
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN39"
></A
><H2
>NOTES</H2
><P
>    This script requires the <B
CLASS="COMMAND"
>rtl-config(1)</B
> script
    to be in its path, in order to obtain the RTLinux module information</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN43"
></A
><H2
>AUTHOR</H2
><P
>Edgar F. Hilton (<A
HREF="mailto:efhilton@fsmlabs.com"
TARGET="_top"
>efhilton@fsmlabs.com</A
>)
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN47"
></A
><H2
>SEE ALSO</H2
><A
HREF="rtl-config.1.html"
TARGET="_top"
>rtl-config(1)</A
>, insmod(8), rmmod(8), lsmod(8)<P
>2001 FSMLabs Inc.</P
><P
>All rights reserved.</P
></DIV
></BODY
></HTML
>