Re: Mounting mtd block device raises "Block device required"

Nancy
2008-06-11T10:07:09Z

On 6/11/08, Andre Puschmann <andre.puschmann@stud.tu-ilmenau.de> wrote:
> # mount -t jffs2 /dev/mtdblock5 /mnt/flash
> mount: mounting /dev/mtdblock5 on /mnt/flash failed: Invalid argument
>
>
> But it seems like it has to do something with the block device driver
> mapping:
>
> $ head -n 2 /dev/mtdblock5 | hexdump -C
> head: /dev/mtdblock5: No such device or address

$ls linux-2.6.21/drivers/mtd/*.o
is there displaying mtd_blkdev.o and mtdblock.o? if no, you must add
it in your .config file.

--
Best wishes,
Nancy