svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
modload(8)
System Administration Commands modload(8)
NAME
modload - load a kernel module
SYNOPSIS
modload [-p] [-e exec_file] filename
DESCRIPTION
The modload command loads the kernel module filename into the running
system.
filename is an object file produced using ld(1) with the -ztype=kmod
option. If filename is an absolute pathname then the file specified by
that absolute path is loaded. If filename does not begin with a slash
(/), then the path to load filename is relative to the current direc‐
tory unless the -p option is specified.
The kernel's modpath variable can be set using the /etc/system file.
The default value of the kernel's modpath variable is set to the path
where the operating system was loaded. Typically this is /kernel
/usr/kernel.
For example, the following command looks for ./drv/foo:
example# modload drv/foo
The following command looks for /kernel/drv/foo and then /usr/ker‐
nel/drv/foo:
example# modload -p drv/foo
OPTIONS
The following options are supported:
-e exec_file Specify the name of a shell script or executable image
file that is executed after the module is successfully
loaded. The first argument passed is the module ID (in
decimal). The other argument is module specific. The
module specific information is: the block and character
major numbers for drivers, the system call number for
system calls, or, for other module types, the index
into the appropriate kernel table. See modinfo(8)
-p Use the kernel's internal modpath variable as the
search path for the module.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/core-os
SEE ALSO
ld(1), system(5), attributes(7), add_drv(8), kernel(8), modinfo(8),
modunload(8), modldrv(9S), modlinkage(9S), modlstrmod(9S), mod‐
ule_info(9S)
Writing Device Drivers in Oracle Solaris 11.4
NOTES
Use add_drv(8) to add device drivers, not modload. See Writing Device
Drivers in Oracle Solaris 11.4 for procedures on adding device drivers.
Oracle Solaris 11.4 7 October 2015 modload(8)