cloudbase / wnbd

Windows Ceph RBD NBD driver
GNU Lesser General Public License v2.1
58 stars 26 forks source link

Add command line options to install and uninstall the driver #38

Closed aserdean closed 3 years ago

aserdean commented 3 years ago

This patch introduces two more supported CLI commands. install-driver, clean-uninstall.

The hardware ID and length are predefined, the only required installation argument is the INF file location.

The clean uninstall sequence will remove any created devices and it will also try to remove any previous driver installations by cycling through all the OEM driver installations and trying to find a match over the catalog file wnbd.cat.

Invoking the clean uninstall will also hard disconnect any online mappings.

Document the usage of the client utility wnbd-client to install and clean uninstall the driver.