mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-23 06:30:04 +00:00
rasctl -s display block size
This commit is contained in:
parent
6d7e186b94
commit
e254bc2b9c
@ -229,8 +229,11 @@ void CommandServerInfo(const string& hostname, int port)
|
||||
const PbDevice& device = *it;
|
||||
|
||||
cout << " " << device.id() << ":" << device.unit() << " " << PbDeviceType_Name(device.type())
|
||||
<< " " << device.vendor() << ":" << device.product() << ":" << device.revision()
|
||||
<< (device.file().name().empty() ? "" : " " + device.file().name()) << endl;
|
||||
<< " " << device.vendor() << ":" << device.product() << ":" << device.revision();
|
||||
if (device.block_size()) {
|
||||
cout << " " << device.block_size() << " BPS";
|
||||
}
|
||||
cout << (device.file().name().empty() ? "" : " " + device.file().name()) << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user