]> git.saurik.com Git - apple/system_cmds.git/blob - kextunload.tproj/kextunload.8
system_cmds-175.tar.gz
[apple/system_cmds.git] / kextunload.tproj / kextunload.8
1 .\"
2 .\"
3 .Dd July 5, 2000
4 .Dt kextunload 8
5 .Os Apple Computer, Inc.
6 .Sh NAME
7 .Nm kextunload
8 .Nd terminates classes, unloads modules associated with a kernel extension
9 .Sh SYNOPSIS
10 .Nm kextunload
11 .Op Fl c Ar classname
12 .Op Fl m Ar modulename
13 .Op Fl h
14 .Op Ar kextbundle
15 .Sh DESCRIPTION
16 The
17 .Nm
18 utility terminates classes and unloads the module files contained within
19 .Ar kextbundle
20 or with a given name. Modules and classes in the kernel must be written correctly to handle the termination and unload process for this to be successful.
21 .Pp
22 The following options are available:
23 .Bl -tag -width indent
24 .It Fl h
25 Provide quick help.
26 .It Fl m
27 Terminate the classes found in the module name given, and unload the module.
28 .It Fl c
29 Terminate the classes in the kernel with the given name.
30 .El
31 .Sh FILES
32 .Bl -tag -width /modules -compact
33 .Ar kextbundle
34 directory containing loadable kernel modules.
35 .Sh DIAGNOSTICS
36 The
37 .Nm
38 utility exits with a status of 0 on success or with a nonzero status if an error occurs.
39 .Sh SEE ALSO
40 .Xr kextload 8 ,
41 .Xr kmodload 8 ,
42 .Xr kmodstat 8 ,
43 .Xr kmodunload 8