reconnect

Syntax

reconnect devicehandle [driverhandle [childhandle]]

reconnect -r

Description

Reconnects drivers to a device.

Options

devicehandle

Specifies a device handle (a hexadecimal number).

-r

Reconnects drivers to all devices.

driverhandle

Specifies a driver handle (a hexadecimal number). If not specified, all drivers on the specified device are reconnected.

childhandle

Specifies a child handle of a device (a hexadecimal number). If not specified, all drivers all child handles of the devicehandle are reconnected.

Usage

This command first disconnects the specified driver from the specified device, and connects the driver to the device recursively.

If the -r option is used, all drivers are reconnected to all devices. Any drivers that are bound to any devices are disconnected, and then connected recursively.

For more, information, see the connect and disconnect commands.

Examples

To reconnect all drivers to all devices:

Shell> reconnect -r

To reconnect all drivers to device 0x28:

fs0:\> reconnect 28

To disconnect 0x17 from 0x28, and then reconnect drivers with 0x17 as highest priority to device 0x28:

fs0:\> reconnect 28 17

To disconnect 0x17 from 0x28, destroying child 0x32, and then reconnect drivers with 0x17 as highest priority to device 0x28:

fs0:\> reconnect 28 17 32\