Question about mdev
Denys Vlasenko
vda.linux at googlemail.com
Sat Nov 1 00:13:52 UTC 2008
On Friday 31 October 2008 10:04, Bernhard Reutner-Fischer wrote:
> 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?
Because mdev was buggy. In latest released version of busybox
this seems to be fixed. Can you try it and confirm/deny?
--
vda
More information about the busybox
mailing list