Re: [RFC 2/2] mmc: use SD/MMC host ID for block device name ID

From: Stephen Warren
Date: Tue Apr 01 2014 - 16:47:52 EST

On 04/01/2014 02:35 PM, stefan@xxxxxxxx wrote:
> From: Stefan Agner <stefan@xxxxxxxx>
> By using the SD/MMC host device ID as a starting point for block
> device numbering, one can reliably predict the first block device
> name (at least for the first controller).

That's not true. There's no guarantee that a device name/ID gets
released as soon as the SD card is removed; something might still have
it mounted for example.

The correct solution here is to use filesystem or partition UUIDs to
identify the device/partition, not to attempt to assign static device IDs.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at