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

NAME

6       rem_drv - remove a device driver from the system
7

SYNOPSIS

9       rem_drv [-b basedir] device_driver
10
11

DESCRIPTION

13       The   rem_drv  command  informs  the  system  that  the  device  driver
14       device_driver  is  no  longer  valid.  If  possible,  rem_drv   unloads
15       device_driver  from memory. rem_drv also updates the system driver con‐
16       figuration files.
17
18
19       If rem_drv has been executed, the next time the system is  rebooted  it
20       automatically performs a reconfiguration boot (see kernel(1M)).
21

OPTIONS

23       The following options are supported:
24
25       -b basedir
26
27           Sets the path to the root directory of the diskless client. Used on
28           the server to execute rem_drv for a client. The client machine must
29           be rebooted to unload the driver.
30
31           Note -
32
33             The  root  file system of any non-global zones must not be refer‐
34             enced with the -b option. Doing so might damage the global zone's
35             file  system,  might  compromise the security of the global zone,
36             and might damage the non-global zone's file system. See zones(5).
37
38
39       -C
40
41           Remove dangling device attribute nodes bound to  the  driver  being
42           removed. This causes any device ownership or permissions customiza‐
43           tions made to any node not to  be preserved if the driver is  added
44           back.  Recommended  for  use when reprovisioning a machine from one
45           configuration or use to  another  where  past  administrative  cus‐
46           tomizations might not be desired.
47
48

EXAMPLES

50       Example 1 Removing the sd Driver
51
52
53       The following example removes the sd driver from use:
54
55
56         example% rem_drv sd
57
58
59
60       Example 2 Removing a Diskless Client
61
62
63       The following example removes the driver from the sun1 diskless client.
64       The driver is not uninstalled or unloaded until the client  machine  is
65       rebooted.
66
67
68         example% rem_drv -b /export/root/sun1 sd
69
70
71
72
73       Note  the caveat on the use of the -b option in the description of that
74       option, above.
75
76

ATTRIBUTES

78       See attributes(5) for descriptions of the following attributes:
79
80
81
82
83       ┌─────────────────────────────┬─────────────────────────────┐
84       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
85       ├─────────────────────────────┼─────────────────────────────┤
86       │Availability                 │SUNWcsu                      │
87       └─────────────────────────────┴─────────────────────────────┘
88

SEE ALSO

90       add_drv(1M),  kernel(1M),  update_drv(1M),   attributes(5),   zones(5),
91       devfs(7FS)
92
93
94
95SunOS 5.11                        13 Aug 2007                      rem_drv(1M)
Impressum