Messages in this thread | | | Date | Tue, 01 Apr 2014 14:47:36 -0600 | From | Stephen Warren <> | Subject | Re: [RFC 2/2] mmc: use SD/MMC host ID for block device name ID |
| |
On 04/01/2014 02:35 PM, stefan@agner.ch wrote: > From: Stefan Agner <stefan@agner.ch> > > 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.
| |