Comment 31 for bug 36274

Revision history for this message
In , Martin Pitt (pitti) wrote :

Created an attachment (id=6658)
hack to fix it

I created a small patch that fixes it for now; it's pretty ugly, i. e.
eventually the original is_partition condition should be reworked properly, but
the patch should point out what the actual problem is.

   * Add 16-nonpartitions-ending-in-nums.patch:
     - Hal currently assumes that device names ending in numbers are
       partitions. This patch adds a safe and easy, but slightly ugly
       workaround. (Real fix will be discussed with upstream at
       https://bugs.freedesktop.org/show_bug.cgi?id=5558)
     - This breaks SCSI, USB, and Firewire CD drives, which are usually called
       'scd0', 'sr1', etc.