System Administration Commands drvconfig(1M)
NAME
drvconfig - apply permission and ownership changes to dev-
ices
SYNOPSIS
drvconfig [-bn] [-a aliasname] [-c classname]
[-i drivername] [-m majornum] [-r rootdir]
DESCRIPTION
devfsadm(1M) is now the preferred command and should be used
instead of drvconfig.
The default operation of drvconfig is to apply permission
and ownership changes to devices. Normally, this command is
run automatically after a new driver has been installed
(with adddrv(1M)) and the system has been rebooted.
OPTIONS
The following options are supported:
-aaliasname Add the name aliasname to the list of
aliases that this driver is known by. This
option, if used, must be used with the -m
majornum, the -b and the -i drivername
options.
-b Add a new major number to name binding into
the kernel's internal nametomajor tables.
This option is not normally used directly,
but is used by other utilities such as
adddrv(1M). Use of the -b option requires
that -i and -m be used also. No /devices
entries are created.
-cclassname The driver being added to the system exports
the class classname. This option is not
normally used directly, but is used by other
utilities. It is only effective when used
with the -b option.
-idrivername Only configure the devices for the named
driver. The following options are used by
the implementation of adddrv(1M) and
remdrv(1M), and may not be supported in
future versions of Solaris:
SunOS 5.11 Last change: 9 Aug 2004 1
System Administration Commands drvconfig(1M)
-mmajornum Specify the major number majornum for this
driver to add to the kernel's nametomajor
binding tables.
-n Do not try to load and attach any drivers,
or if the -i option is given, do not try to
attach the driver named drivername.
-rrootdir Perform operations under rootdir, rather
than directly under root.
EXIT STATUS
0 Successful completion.
non-zero An error occurred.
FILES
/devices Device nodes directory
/etc/minorperm Minor mode permissions
/etc/nametomajor Major number binding
/etc/driverclasses Driver class binding file
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
SEE ALSO
sh(1), adddrv(1M), modinfo(1M), modload(1M), modunload(1M),
remdrv(1M), updatedrv(1M), pathtoinst(4), attributes(5),
devfs(7FS)
SunOS 5.11 Last change: 9 Aug 2004 2
|