1drvconfig(1M)           System Administration Commands           drvconfig(1M)
2
3
4

NAME

6       drvconfig - apply permission and ownership changes to devices
7

SYNOPSIS

9       drvconfig [-bn] [-a alias_name] [-c class_name]
10            [-i drivername] [-m major_num] [-r root_dir]
11
12

DESCRIPTION

14       devfsadm(1M) is now the preferred command and should be used instead of
15       drvconfig.
16
17
18       The default operation of drvconfig is to apply permission and ownership
19       changes to devices. Normally, this command is run automatically after a
20       new driver has been installed (with add_drv(1M))  and  the  system  has
21       been rebooted.
22

OPTIONS

24       The following options are supported:
25
26       -aalias_name    Add  the  name  alias_name  to the list of aliases that
27                       this driver is known by. This option, if used, must  be
28                       used  with  the -m major_num, the -b and the -i driver‐
29                       name options.
30
31
32       -b              Add a new major number to name binding  into  the  ker‐
33                       nel's internal name_to_major tables. This option is not
34                       normally used directly, but is used by other  utilities
35                       such as add_drv(1M). Use of the -b option requires that
36                       -i and -m be used also. No /devices  entries  are  cre‐
37                       ated.
38
39
40       -cclass_name    The  driver being added to the system exports the class
41                       class_name. This option is not normally used  directly,
42                       but  is  used  by other utilities. It is only effective
43                       when used with the -b option.
44
45
46       -idrivername    Only configure the devices for the  named  driver.  The
47                       following  options  are  used  by the implementation of
48                       add_drv(1M) and rem_drv(1M), and may not  be  supported
49                       in future versions of Solaris:
50
51
52       -mmajor_num     Specify  the  major number major_num for this driver to
53                       add to the kernel's name_to_major binding tables.
54
55
56       -n              Do not try to load and attach any drivers, or if the -i
57                       option  is given, do not try to attach the driver named
58                       drivername.
59
60
61       -rroot_dir      Perform operations under root_dir, rather than directly
62                       under root.
63
64

EXIT STATUS

66       0           Successful completion.
67
68
69       non-zero    An error occurred.
70
71

FILES

73       /devices               Device nodes directory
74
75
76       /etc/minor_perm        Minor mode permissions
77
78
79       /etc/name_to_major     Major number binding
80
81
82       /etc/driver_classes    Driver class binding file
83
84

ATTRIBUTES

86       See attributes(5) for descriptions of the following attributes:
87
88
89
90
91       ┌─────────────────────────────┬─────────────────────────────┐
92       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
93       ├─────────────────────────────┼─────────────────────────────┤
94       │Availability                 │SUNWcsu                      │
95       └─────────────────────────────┴─────────────────────────────┘
96

SEE ALSO

98       sh(1),    add_drv(1M),    modinfo(1M),    modload(1M),   modunload(1M),
99       rem_drv(1M), update_drv(1M), path_to_inst(4), attributes(5), devfs(7FS)
100
101
102
103SunOS 5.11                        9 Aug 2004                     drvconfig(1M)
Impressum