try defaults if auto-detection failed in apt-cdrom
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 16 Jun 2013 16:28:45 +0000 (18:28 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 20 Jun 2013 08:46:32 +0000 (10:46 +0200)
commit2ecf54d8704f93f086df7def08e80f49892ac075
tree2fe3b60610a84ac44adfd47fd3c33fa8813260cf
parent99359751efb1ad84e877219639030feb47fb28f7
try defaults if auto-detection failed in apt-cdrom

The default is to ask udev for location and mountpoints of CD-ROMs,
but the old way of specifying the mountpoint is still available and
is tried now in case udev doesn't find any CD-ROM.

It probably fails, too, but we get a bunch of error messages this
way and the user can get an idea of how to make his setup work even
if udev can't be convienced to return something useful.

Closes: #712433
cmdline/apt-cdrom.cc
debian/changelog