#!/bin/sh
# CD-RW loeschen, Default ist fast, "blank all"
# belebt scheinbar kaputte CD-RW im Plex-Brenner neu
if test -n "$1"; then
  type="$1"
else
  type="fast"
fi
cdrecord \
-v \
speed=99 \
dev=0,1,0 \
blank=all \
-force
# Blanking options:
# all, disc, disk     blank the entire disk
# fast, minimal       minimally blank the entire disk
#                     (PMA, TOC, pregap)
# track               blank a track
# unreserve           unreserve a track
# trtail              blank a track tail
# unclose             unclose last session
# session             blank last session