PiSCSI / piscsi

PiSCSI allows a Raspberry Pi to function as emulated SCSI devices (hard disk, CD-ROM, and others) for vintage SCSI-based computers and devices. This is a fork of the RaSCSI project by GIMONS.
https://piscsi.org
BSD 3-Clause "New" or "Revised" License
537 stars 82 forks source link

Add BIN/CUE support to RaSCSI #535

Open akuker opened 2 years ago

akuker commented 2 years ago

Info

Describe the issue

Currently in the code, BIN/CUE support is incomplete. Currently, it will throw an exception if someone tries to use it. image

This issue is to request that RaSCSI be updated to support BIN/CUE disk images fully. This may also drive changes into the web interface to support them.

akuker commented 2 years ago

Note that there are a few existing libraries for parsing CUE files. We shouldn't need to implement our own version of it. Examples:

https://github.com/coolerfall/c-cuelib (Preferred - LGPL) https://github.com/lipnitsk/libcue (non-preferred - GPL)

MeTalOneOEight commented 1 year ago

Take a look at cdemu/libmirage https://cdemu.sourceforge.io/ It supports most image formats and uses SCSI commands.

TaehyunKim commented 1 year ago

To use cdemu , it is better to support passthrough scsi generic device ( /dev/sgXX ). CDEMU provide fuctionality to emulate cdrom image to scsi generic devices. then piscsi read and forward scsi command to scsi generic devices. this method provide USB CD-ROM/DISK over PiSCSI also.