Bug#706926: Remove persistent CD udev rules
Please consider adding the attached script to remove the udev generated
persistent CD-ROM rules.
Persistent CD device names are a not generally usefull on live systems
because many applications expect to find a CD-ROM device as /dev/cdrom.
But this link is only available when booting on the machine where the
system was first booted. On all other machines /dev/cdrom won't be
available. The CD-ROM device will be named /dev/cdromX.
Without this script most media players have to be reconfigured each time
you boot on a different machine.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (800, 'testing'), (700, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
## live-config(7) - System Configuration Scripts
## Copyright (C) 2013 Gaudenz Steinlin <email@example.com>
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
if [ -e /etc/udev/rules.d/70-persistent-cd.rules ]
echo -n " remove-persistent-cdrom"