/usr/share/doc/cdrdao/examples/psxcopy-0.2/read-psx is in cdrdao 1:1.2.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh
echo read-psx - v.0.3
reader_sg="/dev/sg0"
reader_cd="/dev/scd0"
if psxdump -T -d $reader_cd
then
rm -f $1.toc
cdrdao read-toc --device $reader_sg $1.toc
cp $1.toc $1.toc.backup
cdjob $1.toc $reader_cd
else
echo This is not a PSX disk..
fi
|