B_DISK_DEVICE_READ_ONLY
&& (fDeviceData->device_flags & B_DISK_DEVICE_READ_ONLY) != 0;
SetDeviceFlags(DeviceFlags() | B_DISK_DEVICE_READ_ONLY);