On Friday, October 31, 2008 12:03 AM, Pierre Ossman wrote:
>> 
>> Why does the re-inserted card show up as mmcblk1* instead of
mmcblk0*?
>> Also, why would it change from a block device to a char device and
the 
>> minor number has changed?
>> 
>
> I'd guess you forgot to unmount the card. The device name "mmcblk0"
> will still be around in that case and it will take the next one in
line.
>
> No idea why it pops up as a character device. Must be some mdev bug.

You were correct on the first part. I just retested without mounting the
card and it does come back as "mmcblk0" and "mmcblk0p1".

But it also comes back as a character device not a block device even
though the minor/major numbers are the same. Why would mdev initially
create the node as a block device then change it? As far as I can tell
/etc/mdev.conf just defines the ownership and permissions for the nodes.

Thanks,
Hartley

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to