diff --git a/src/raspberrypi/rasctl.cpp b/src/raspberrypi/rasctl.cpp index d2ed4411..ca95c527 100644 --- a/src/raspberrypi/rasctl.cpp +++ b/src/raspberrypi/rasctl.cpp @@ -315,7 +315,11 @@ void CommandServerInfo(const string& hostname, int port) if (device.block_size()) { cout << " " << device.block_size() << " BPS"; } - cout << (device.file().name().empty() ? "" : " " + device.file().name()) << endl; + cout << (device.file().name().empty() ? "" : " " + device.file().name()); + if (device.properties().read_only() || device.status().protected_()) { + cout << " read-only"; + } + cout <