Making partitions with CFI flash

David Woodhouse dwmw2 at infradead.org
Sun Oct 21 17:29:07 EDT 2001


amit.lubovsky at infineon.com said:
> I have also created the nodes, so "ls -l /dev/mtd*" 
>
> root at 172.29.134.163:~# ls -l /dev/mtd*
> crw-r--r--    1 root     root      90,   0 Oct 21  2001 /dev/mtd0
> crw-r--r--    1 root     root      90,   1 Oct 21  2001 /dev/mtd1
> crw-r--r--    1 root     root      90,   2 Oct 21  2001 /dev/mtd2
> brw-r--r--    1 root     root      31,   1 Oct 21  2001 /dev/mtdblock1
> root at 172.29.134.163:~#
> 
> but I can't erase or copy to the partition  /dev/mtd1 and I get the
> following:
> 
> root at 172.29.134.163:~# /usr/sbin/eraseall /dev/mtd1
> /usr/sbin/eraseall: /dev/mtd1: Permission denied

Read Documentation/devices.txt or run the MAKEDEV script so you get the 
correct minor numbers - don't just make them up yourself.

--
dwmw2






More information about the linux-mtd mailing list