MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / SCSICD

Method SCSICD

cpp/devices/scsicd.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22using namespace scsi_command_util;
23
24SCSICD::SCSICD(int lun, scsi_defs::scsi_level level) : Disk(SCCD, lun, { 512, 2048 }), scsi_level(level)
25{
26 SetReadOnly(true);
27 SetRemovable(true);
28 SetLockable(true);
29}
30
31bool SCSICD::Init(const param_map& params)
32{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected