Mounting mtd block device raises "Block device required"

Nancy nancydreaming at gmail.com
Wed Jun 11 05:38:38 EDT 2008


On 6/11/08, Andre Puschmann <andre.puschmann at 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



More information about the linux-mtd mailing list