Package: cdrom-detect
Severity: normal
Tag: patch

Hi,

isohybrid images when written to a block device result in having one
partition (e.g. /dev/sdb1) with the filesystem iso9660.

when using cdrom-detect with cdrom-detect/try-usb=true, it
unconditionally tries to mount /dev/sdb1 with vfat, which naturally fails.

here's the diff against trunk that i've verified to work and which fixes
this by also trying to mount the partition with iso9660.

---snip---
Index: cdrom-detect.postinst
===================================================================
--- cdrom-detect.postinst       (revision 63719)
+++ cdrom-detect.postinst       (working copy)
@@ -63,6 +63,9 @@
                        if try_mount $device vfat; then
                                break 2
                        fi
+                       if try_mount $device iso9660; then
+                               break 2
+                       fi
                done
        fi
---snap---


If you agree, I'd like to commit it.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baum...@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c38b772.50...@debian.org

Reply via email to