Added support for list-devices on FreeBSD.

This commit is contained in:
2017-12-08 03:19:28 +00:00
parent f9e9bb4db0
commit c7d187b298
7 changed files with 300 additions and 10 deletions

View File

@@ -53,6 +53,8 @@ namespace DiscImageChef.Devices
return Windows.ListDevices.GetList();
case Interop.PlatformID.Linux:
return Linux.ListDevices.GetList();
case Interop.PlatformID.FreeBSD:
return FreeBSD.ListDevices.GetList();
default:
throw new InvalidOperationException(string.Format("Platform {0} not yet supported.", Interop.DetectOS.GetRealPlatformID()));
}