mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Added support for list-devices on FreeBSD.
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user