store /sys/block name in Linux
This commit is contained in:
@@ -278,6 +278,7 @@ void GetNewStorageDevices( vector<UsbStorageDevice>& vDevicesOut )
|
||||
UsbStorageDevice usbd;
|
||||
|
||||
CString sPath = sBlockDevicePath + sDevice + "/";
|
||||
usbd.sSysPath = sPath;
|
||||
|
||||
/* Ignore non-removable devices. */
|
||||
CString sBuf;
|
||||
|
||||
Reference in New Issue
Block a user