OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / modutils / draft / man8 / rmmod.8
1 .\" Copyright (c) 1994, 1995, 1999 Bjorn Ekwall <bj0rn@blox.se>
2 .\" Copyright (c) 1996 Free Software Foundation, Inc. (via rth)
3 .\" This program is distributed according to the Gnu General Public License.
4 .\" See the file COPYING in the distribution source directory
5 .\"
6 .\" Translated Sun Aug 15 10:58:04 JST 1999
7 .\"         by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
8 .\" Updated Fri Sep 22 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
9 .\" Updated Sun Jan 28 2001 by Kentaro Shirakata <argrath@ub32.org>
10 .\" Updated Sun Jun  3 2001 by Kentaro Shirakata <argrath@ub32.org>
11 .\" Updated Sat Mar 16 2002 by Kentaro Shirakata <argrath@ub32.org>
12 .\"
13 .\" WORD: generated comment     ¼«Æ°À¸À®¥³¥á¥ó¥È
14 .\" WORD: persistent data       ±Ê³¥Ç¡¼¥¿
15 .TH RMMOD 8 "February 6, 2002" Linux "Linux Module Support"
16 .\"O .SH NAME
17 .SH Ì¾Á°
18 .\"O rmmod \- unload loadable modules
19 rmmod \- ¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë¤ò¥¢¥ó¥í¡¼¥É¤¹¤ë
20 .\"O .SH SYNOPSIS
21 .SH ½ñ¼°
22 .hy 0
23 .B rmmod
24 [ \-aehrsvV ] module ...
25 .\"O .SH DESCRIPTION
26 .SH ÀâÌÀ
27 .\"O .B rmmod
28 .\"O unloads loadable modules from the running kernel.
29 .B rmmod
30 ¤Ï¡¢¼Â¹ÔÃæ¤Î¥«¡¼¥Í¥ë¤«¤é¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë¤ò¥¢¥ó¥í¡¼¥É¤¹¤ë¡£
31 .PP
32 .\"O .B rmmod
33 .\"O tries to unload a set of modules from the kernel, with the restriction
34 .\"O that they are not in use and that they are not referred to by other modules.
35 .B rmmod
36 ¤Ï¥«¡¼¥Í¥ë¤«¤é¥â¥¸¥å¡¼¥ë¤Î¥»¥Ã¥È¤ò¥¢¥ó¥í¡¼¥É¤·¤è¤¦¤È¤¹¤ë¡£¥¢¥ó¥í¡¼¥É¤Ë
37 ¤ÏÀ©¸Â¤¬¤¢¤ê¡¢¤½¤Î¥â¥¸¥å¡¼¥ë¤Ï»ÈÍÑÃæ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤º¡¢¤Þ¤¿Â¾¤Î¥â¥¸¥å¡¼¥ë
38 ¤«¤é»²¾ÈÃæ¤Ç¤¢¤Ã¤Æ¤â¤Ê¤é¤Ê¤¤¡£
39 .PP
40 .\"O If more than one module is named on the command line, the modules
41 .\"O will be removed in the given order.  This supports unloading of stacked modules.
42 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÊ£¿ô¤Î¥â¥¸¥å¡¼¥ë¤¬»Ø¼¨¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥â¥¸¥å¡¼¥ë¤Ï
43 »Ø¼¨¤µ¤ì¤¿½ç¤Ëºï½ü¤µ¤ì¤ë¡£
44 ¤³¤ì¤Ë¤è¤ê¡¢¥¹¥¿¥Ã¥¯¤·¤Æ¤¤¤ë¥â¥¸¥å¡¼¥ë¤Î¥¢¥ó¥í¡¼¥É¤â¹Ô¤¦¤³¤È¤¬½ÐÍè¤ë¡£
45 .PP
46 .\"O With the option '\fB-r\fR', a recursive removal of modules will be attempted.
47 .\"O This means that if a top module in a stack is named on the command line,
48 .\"O all modules that are used by this module will be removed as well, if possible.
49 ¥ª¥×¥·¥ç¥ó '\fB-r\fR' ¤òÍ¿¤¨¤ë¤È¡¢¥â¥¸¥å¡¼¥ë¤òºÆµ¢Åª¤Ëºï½ü¤·¤è¤¦¤È¤¹¤ë¡£
50 ¤Ä¤Þ¤ê¡¢¥¹¥¿¥Ã¥¯¤Î¥È¥Ã¥×¤Ë¤¤¤ë¥â¥¸¥å¡¼¥ë¤¬¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤ë¤È¡¢
51 ¤³¤Î¥â¥¸¥å¡¼¥ë¤¬ÍѤ¤¤Æ¤¤¤ëÁ´¤Æ¤Î¥â¥¸¥å¡¼¥ë¤ò (²Äǽ¤Ê¤é¤Ð) ºï½ü¤¹¤ë¡£
52 .PP
53 .\"O .SH OPTIONS
54 .SH ¥ª¥×¥·¥ç¥ó
55 .TP
56 .BR \-a ", " \-\-all
57 .\"O Do autoclean: tag unused modules as "to be cleaned", and also remove
58 .\"O already tagged modules.
59 ¼«Æ°ºï½ü¤ò¹Ô¤¦: »È¤Ã¤Æ¤¤¤Ê¤¤¥â¥¸¥å¡¼¥ë¤Ë¡Öºï½üͽÄê¡×¤Î¥¿¥°¤ò¤Ä¤±¡¢
60 ´û¤Ë¥¿¥°¤Î¤Ä¤¤¤Æ¤¤¤ë¥â¥¸¥å¡¼¥ë¤òºï½ü¤¹¤ë¡£
61 .\"O Modules stay tagged if they stay unused since previous autoclean.
62 Á°²ó¤Î¼«Æ°ºï½ü°Ê¹ß¤â̤»ÈÍѤΤޤޤǤ¢¤Ã¤¿¥â¥¸¥å¡¼¥ë¤Ï
63 ¥¿¥°¤¬¤Ä¤¤¤¿¤Þ¤Þ¤Ç¤¢¤ë¡£
64 .\"O These two passes avoid removing transiently unused modules.
65 ¤³¤Î 2 ¥Ñ¥¹¤Î¼êË¡¤Ë¤è¤ê¡¢°ì½Ö»È¤ï¤ì¤Ê¤¯¤Ê¤Ã¤¿¤À¤±¤Î
66 ¥â¥¸¥å¡¼¥ë¤¬ºï½ü¤µ¤ì¤ë¤Î¤òËɤ°¡£
67 .TP
68 .BR \-e ", " \-\-persist
69 .\"O Save persistent data for the named modules, without unloading any
70 .\"O modules.  If no module names are specified then data is saved for all
71 .\"O modules that have persistent data.  Data is only saved if both the
72 .\"O kernel and modutils support persistent data and \fI/proc/ksyms\fR contains an
73 .\"O entry
74 .\"O .br
75 .\"O __insmod_\fImodulename\fP_P\fIpersistent_filename\fP
76 »ØÄꤵ¤ì¤¿¥â¥¸¥å¡¼¥ë¤Î±Ê³¥Ç¡¼¥¿(persistent data)¤òÊݸ¤¹¤ë¡£¥â¥¸¥å¡¼¥ë¤Î¥¢¥ó¥í¡¼¥É¤Ï¹Ô¤ï¤Ê¤¤¡£
77 ¥â¥¸¥å¡¼¥ë̾¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤ÏÁ´¤Æ¤Î¥â¥¸¥å¡¼¥ë¤Î±Ê³¥Ç¡¼¥¿¤¬Êݸ¤µ¤ì¤ë¡£
78 ¥Ç¡¼¥¿¤ÎÊݸ¤Ï¡¢¥«¡¼¥Í¥ë¤È modutils ¤ÎξÊý¤¬±Ê³¥Ç¡¼¥¿¤ËÂбþ¤·¤Æ¤ª¤ê¡¢
79 ¤«¤Ä \fI/proc/ksyms\fR ¤Ë
80 .br
81 __insmod_\fImodulename\fP_P\fIpersistent_filename\fP
82 .br
83 ¥¨¥ó¥È¥ê¤¬¤¢¤ë¾ì¹ç¤Ë¤Î¤ß¹Ô¤ï¤ì¤ë¡£
84 .TP
85 .BR \-h ", " \-\-help
86 .\"O Display a summary of options and immediately exit.
87 ¥ª¥×¥·¥ç¥ó¤Î°ìÍ÷¤òɽ¼¨¤·¤Æľ¤Á¤Ë½ªÎ»¤¹¤ë¡£
88 .TP
89 .BR \-r ", " \-\-stacks
90 .\"O Remove a module stack.
91 ¥â¥¸¥å¡¼¥ë¤Î¥¹¥¿¥Ã¥¯¤òºï½ü¤¹¤ë¡£
92 .TP
93 .BR \-s ", " \-\-syslog
94 .\"O Output everything to \fBsyslog\fP(3) instead of the terminal.
95 Á´¤Æ¤Î½ÐÎϤòüËö¤Ç¤Ï¤Ê¤¯ \fBsyslog\fP(3) ¤ËÂФ·¤Æ¹Ô¤¦¡£
96 .TP
97 .BR \-v ", " \-\-verbose
98 .\"O Be verbose.
99 ¾ÜºÙ¤Ëɽ¼¨¤¹¤ë¡£
100 .TP
101 .BR \-V ", " \-\-version
102 .\"O Print the version of \fBmodutils\fR.
103 \fBmodutils\fR ¤Î¥Ð¡¼¥¸¥ç¥ó¤òɽ¼¨¤¹¤ë¡£
104 .\"O .SH PERSISTENT DATA
105 .SH ±Ê³¥Ç¡¼¥¿
106 .\"O If a module contains persistent data (see
107 .\"O .IR insmod (8)
108 .\"O and
109 .\"O .IR modules.conf (5))
110 .\"O then removing the module always writes the persistent data to the
111 .\"O filename in the __insmod _P symbol entry.  You can also save the
112 .\"O persistent data at any time by rmmod\ -e, this will not unload any
113 .\"O modules.
114 ¥â¥¸¥å¡¼¥ë¤Ë±Ê³¥Ç¡¼¥¿(
115 .IR insmod (8)
116 ¤È
117 .IR modules.conf (5)
118 »²¾È)¤¬¤¢¤ë¾ì¹ç¡¢¥â¥¸¥å¡¼¥ë¤ò¥¢¥ó¥í¡¼¥É¤·¤¿»þ¤Ë __insmod _P ¥¨¥ó¥È¥ê¤Î
119 ¥Õ¥¡¥¤¥ë̾¤Î¥Õ¥¡¥¤¥ë¤Ë±Ê³¥Ç¡¼¥¿¤òÊݸ¤¹¤ë¡£
120 ¤Þ¤¿¡¢Ç¤°Õ¤Î»þÅÀ¤Ç rmmod\ -e ¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥â¥¸¥å¡¼¥ë¤ò
121 ¥¢¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤Ê¤¯±Ê³¥Ç¡¼¥¿¤òÊݸ¤¹¤ë¤³¤È¤â½ÐÍè¤ë¡£
122
123 .PP
124 .\"O When the persistent data is written to file, it is preceded by a
125 .\"O generated comment line,
126 ±Ê³¥Ç¡¼¥¿¤¬¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¹þ¤Þ¤ì¤ë¤È¤­¡¢ÀèƬ¤Ë°Ê²¼¤Î¤è¤¦¤Ê
127 ¼«Æ°À¸À®¥³¥á¥ó¥È¹Ô¤¬ÉÕ¤¯¡£
128 .br
129 #% \fIkernel_version timestamp\fR
130 .br
131 .\"O Generated comment lines start with '#%', all generated comments are
132 .\"O stripped from the existing file, other comments are preserved.  The
133 .\"O saved data values are written to the file, preserving the existing
134 .\"O order of comments and assignments.  New values are added at the end of
135 .\"O the file.  If the file contains values that do not exist in the module
136 .\"O then these values are preserved but are preceded by a generated comment
137 .\"O warning that they are not being used.  The latter operation allows a
138 .\"O user to switch between kernels without losing persistent data and
139 .\"O without getting any error messages.
140 ¼«Æ°À¸À®¥³¥á¥ó¥È¹Ô¤Ï'#%'¤Ç»Ï¤Þ¤ë¡£
141 Á´¤Æ¤Î¼«Æ°À¸À®¥³¥á¥ó¥È¹Ô¤ÏÆɤ߹þ¤ß»þ¤Ëºï½ü¤µ¤ì¤ë¤¬¡¢
142 ¤½¤Î¾¤Î¥³¥á¥ó¥È¤ÏÊݸ¤µ¤ì¤ë¡£
143 ¥Ç¡¼¥¿¤¬¥Õ¥¡¥¤¥ë¤ËÊݸ¤µ¤ì¤ë¤È¤­¡¢´û¤Ë¸ºß¤¹¤ë¥³¥á¥ó¥È¤Î½çÈ֤ȰÌÃÖ¤ÏÊݸ¤µ¤ì¤ë¡£
144 ¿·¤·¤¤Ãͤϥե¡¥¤¥ë¤ÎºÇ¸å¤ËÄɲ䵤ì¤ë¡£
145 ¥â¥¸¥å¡¼¥ë¤Ë¤Ê¤¤Ãͤ¬¥Õ¥¡¥¤¥ë¤Ë¹ç¤Ã¤¿¾ì¹ç¡¢¤½¤ì¤é¤ÎÃͤÏÊݸ¤µ¤ì¤ë¤¬
146 ¡Ö¤³¤ÎÃͤϻÈÍѤµ¤ì¤Æ¤¤¤Ê¤¤¡×»Ý¤Î¼«Æ°À¸À®¥³¥á¥ó¥È¤Ë¤è¤ë·Ù¹ð¤¬¤½¤ÎÁ°¤Ë¤Ä¤¯¡£
147 ¤³¤ì¤Ë¤è¤ê¡¢±Ê³¥Ç¡¼¥¿¤ò¼º¤Ã¤¿¤ê¡¢·Ù¹ð¥á¥Ã¥»¡¼¥¸¤ò¼õ¤±¼è¤Ã¤¿¤ê¤¹¤ë¤³¤È¤Ê¤¯
148 ¥«¡¼¥Í¥ë¤òÀÚ¤êÂؤ¨¤ë¤³¤È¤¬½ÐÍè¤ë¡£
149 .PP
150 .\"O .B Note:
151 .\"O Comments are only supported when the first non-space character on a
152 .\"O line is '#'.  Any non-blank lines that do not start with '#' are module
153 .\"O options, one per line.  The option lines have leading spaces removed,
154 .\"O the remainder of the line is passed to insmod as an option, including
155 .\"O any trailing characters.
156 .B Ãí°Õ:
157 ¹Ô¤Î¶õÇò°Ê³°¤ÎºÇ½é¤Îʸ»ú¤¬'#'¤Ç¤¢¤ë¾ì¹ç¤Ë¤Î¤ß¥³¥á¥ó¥È¤È¤·¤Æ°·¤ï¤ì¤ë¡£
158 ¶õ¹Ô°Ê³°¤Ç¡¢'#'¤Ç»Ï¤Þ¤Ã¤Æ¤¤¤Ê¤¤¹Ô¤Ï¥â¥¸¥å¡¼¥ë¥ª¥×¥·¥ç¥ó¤È¤·¤Æ
159 °·¤ï¤ì¤ë(°ì¹ÔËè¤Ë°ì¤Ä)¡£
160 ¥ª¥×¥·¥ç¥ó¹Ô¤ÏÀèƬ¤Î¥¹¥Ú¡¼¥¹¤ò¼è¤ê½ü¤­¡¢
161 »Ä¤ê¤ÏÁ´¤Æ insmod ¤Ë¥ª¥×¥·¥ç¥ó¤È¤·¤ÆÅϤµ¤ì¤ë¡£
162 .\"O .SH SEE ALSO
163 .SH ´ØÏ¢¹àÌÜ
164 .BR insmod "(8), " lsmod "(8), " ksyms "(8), " modprobe "(8)."
165 .\"O .SH BUGS
166 .SH ¥Ð¥°
167 .\"O \fBrmmod\fR [\fB\-V\fR\ |\ \fB\-\-version\fR] should display version
168 .\"O information and then exit immediately.  Instead, it prints the version
169 .\"O information and behaves as if no options were given.
170 \fBrmmod\fR [\fB\-V\fR\ |\ \fB\-\-version\fR] ¤Ï¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤ò
171 ɽ¼¨¤·¤Æľ¤Á¤Ë½ªÎ»¤¹¤ë¤Ù¤­¤Ç¤¢¤ë¡£
172 ¤·¤«¤·¤Ê¤¬¤é¡¢¸½ºß¤Ï¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤¿¸å¡¢
173 ²¿¤â¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¤«¤Î¤è¤¦¤Ë¿¶Éñ¤¦¡£
174 .\"O .SH HISTORY
175 .SH ÍúÎò
176 .\"O Module support was first conceived by Anonymous
177 ¥â¥¸¥å¡¼¥ëÂбþ¤ò郎ºÇ½é¤Ë¹Í¤¨¤¿¤Î¤«¤ÏÉÔÌÀ¤Ç¤¢¤ë¡£
178 .br
179 .\"O Initial Linux version by Bas Laarhoven <bas@vimec.nl>
180 Linux ÍѤκǽé¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï Bas Laarhoven <bas@vimec.nl> ¤¬ºîÀ®¤·¤¿¡£
181 .br
182 .\"O Version 0.99.14 by Jon Tombs <jon@gtex02.us.es>
183 ¥Ð¡¼¥¸¥ç¥ó 0.99.14 ¤Ï Jon Tombs <jon@gtex02.us.es> ¤¬ºîÀ®¤·¤¿¡£
184 .br
185 .\"O Extended by Bjorn Ekwall <bj0rn@blox.se>
186 Bjorn Ekwall <bj0rn@blox.se> ¤¬³ÈÄ¥¤ò¹Ô¤Ã¤¿¡£
187 .br
188 .\"O Updated for 2.1.17 by Richard Henderson <rth@tamu.edu>
189 ¥Ð¡¼¥¸¥ç¥ó 2.1.17 ¤Ø¤Î¹¹¿·¤Ï Richard Henderson <rth@tamu.edu> ¤¬¹Ô¤Ã¤¿¡£
190 .br
191 .\"O Updated for 2.2.2 by by Bjorn Ekwall <bj0rn@blox.se>
192 ¥Ð¡¼¥¸¥ç¥ó 2.2.2 ¤Ø¤Î¹¹¿·¤Ï Bjorn Ekwall <bj0rn@blox.se> ¤¬¹Ô¤Ã¤¿¡£
193 .br
194 .\"O Updated for modutils 2.3.20 by by Keith Owens <kaos@ocs.com.au>
195 modutils 2.3.20 ¤Ø¤Î¹¹¿·¤Ï Keith Owens <kaos@ocs.com.au> ¤¬¹Ô¤Ã¤¿¡£
196 .br
197 .\"O Persistent data for modutils 2.3.22 by by Keith Owens <kaos@ocs.com.au>
198 2.3.22 ¤«¤é¤Î±Ê³¥Ç¡¼¥¿¤Ï Keith Owens <kaos@ocs.com.au> ¤¬¹Ô¤Ã¤¿¡£