mmcblk0p* don't appear in /sys/block

Bug #357700 reported by Loïc Minier
2
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Loïc Minier

Bug Description

Hi

casper scans block devices in /sys/block/* to find the live media. We see mmcblk0 there, but not the partitions e.g. mmcblk0p1; this breaks casper unless we force LIVEMEDIA.

This seems inconsistent with other block devices.

Bye

Tags: arm armel
Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Loïc Minier (lool) wrote :

Actually a casper bug:
is_nice_device() {
    sysfs_path="${1#/sys}"
    if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-(ide|scsi|usb))"; then
        return 0
    fi
    return 1
}

=> should also allow platform-mmc*

affects: linux (Ubuntu) → casper (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → lool
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.170

---------------
casper (1.170) jaunty; urgency=low

  * is_nice_device(): allow devices with an ID_PATH of platform-mmc* as well
    as used for instance for SD cards on the ARM iMX51 Babbage board;
    LP: #357700.

 -- Loic Minier <email address hidden> Wed, 08 Apr 2009 15:34:01 +0200

Changed in casper (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.