Question about mdev

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Oct 31 09:04:53 UTC 2008


On Thu, Oct 30, 2008 at 06:28:38PM -0400, hartleys wrote:
>Hello all!

redirected to more appropriate list..
>
>I have a question about mdev. I hope someone can offer an idea.
>
>I have the mmc_spi.c driver build into my linux kernel. When I first
>boot, and a mmc card is installed, it is detected by mdev and I get:
>
>/mnt # ls /dev/mmc* -la
>brw-rw----    1 root     disk     179,   0 Oct 30 09:10 /dev/mmcblk0
>brw-rw----    1 root     disk     179,   1 Oct 30 09:10 /dev/mmcblk0p1
>
>At this point I can mount it and everything works great.
>
>But, if I eject the card and re-insert it I get:
>
>/mnt # ls /dev/mmc* -la
>crw-rw----    1 root     disk     179,   8 Oct 30 09:23 /dev/mmcblk1
>crw-rw----    1 root     disk     179,   9 Oct 30 09:23 /dev/mmcblk1p1
>
>Now I can no longer mount the card since it is a character device.
>
>Any ideas why it shows up as a block device at boot, then as a character
>device after that?
>
>Thanks,
>Hartley



More information about the busybox mailing list