/usr/bin/simpleburn-copy-data is in simpleburn 1.6.5-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/bash
cdreader=$1
cdwriter=$2
if [ ! -b "$cdwriter" ] || [ ! -b "$cdreader" ] || [ $cdwriter == $cdreader ]; then
echo "usage: $0 cdreader cdwriter"
echo "example: $0 /dev/sr0 /dev/sr1"
exit
fi
if mount | grep -q "^$cdwriter "; then
umount $cdwriter || exit 255
fi
source simpleburn-burning-suite quiet
tracksize=`simpleburn-media-detection $cdreader | grep "mediasize" | cut -f2 -d=`
let tracksize=tracksize/1024
$CDRECORD -v gracetime=3 dev=$cdwriter -isosize $cdreader | simpleburn-gauges cdrecord $tracksize
status=${PIPESTATUS[0]}
echo "100"
exit $status
|