man pages section 1M: System Administration Commands
  Search only this book
Download this book in PDF (9842 KB)

drvconfig(1M)

Name | Synopsis | Description | Options | Exit Status | Files | Attributes | See Also

Name

    drvconfig– apply permission and ownership changes to devices

Synopsis

    drvconfig [-bn] [-a alias_name] [-c class_name] 
         [-i drivername] [-m major_num] [-r root_dir]

Description

Options

    The following options are supported:

    -aalias_name

    Add the name alias_name to the list of aliases that this driver is known by. This option, if used, must be used with the -m major_num, the -b and the -i drivername options.

    -b

    Add a new major number to name binding into the kernel's internal name_to_major tables. This option is not normally used directly, but is used by other utilities such as add_drv ### UNMATCHED MARKUP: manvolnum ### . Use of the -b option requires that -i and -m be used also. No /devices entries are created.

    -cclass_name

    The driver being added to the system exports the class class_name. 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 add_drv ### UNMATCHED MARKUP: manvolnum ### and rem_drv ### UNMATCHED MARKUP: manvolnum ### , and may not be supported in future versions of Solaris:

    -mmajor_num

    Specify the major number major_num for this driver to add to the kernel's name_to_major 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.

    -rroot_dir

    Perform operations under root_dir, rather than directly under root.

Exit Status

    0

    Successful completion.

    non-zero

    An error occurred.

Files

    /devices

    Device nodes directory

    /etc/minor_perm

    Minor mode permissions

    /etc/name_to_major

    Major number binding

    /etc/driver_classes

    Driver class binding file

Attributes

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPE 

    ATTRIBUTE VALUE 

    Availability 

    SUNWcsu 

See Also

SunOS 5.11  Last Revised 9 Aug 2004

Name | Synopsis | Description | Options | Exit Status | Files | Attributes | See Also