Skip to contentSkip to conversation

Making partitions with CFI flash

DISCUSSION David Woodhouse 1 participant 1 message Oct 21, 2001 15 messages not in the archive Memory technology devices (MTD)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · [email protected] said:

I have also created the nodes, so "ls -l /dev/mtd*"

[email protected]:~# 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
[email protected]:~#
Quoted 5 lines

but I can't erase or copy to the partition /dev/mtd1 and I get the following:

[email protected]:~# /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