[Ubi] Wrong major:minor
Gilles
gilles.ganault at free.fr
Sun May 29 06:39:33 EDT 2011
Hello
I used the following data to compile Ubi(fs) into a uClinux kernel:
========= device_table.txt
#UBIFS nodes
/dev/ubi_ctrl c 644 0 0 10 63 0 0 -
/dev/ubi0 c 644 0 0 253 0 0 0 -
=========
However, ubimkvol isn't happy with it:
=========
root:~> ubimkvol /dev/ubi0 -s 20MiB -N ubifs0
libubi: error!: "/dev/ubi0" has major:minor 253:0, but this does not
correspond to any UBI device or volume
ubimkvol: error!: "/dev/ubi0" is not an UBI device node
=========
Here's what the two device nodes look like in the running kernel:
=========
root:~> ls -al /dev/ubi*
crw-r--r-- 1 root root 253, 0 May 27 2011 /dev/ubi0
crw-r--r-- 1 root root 10, 63 May 27 2011 /dev/ubi_ctrl
=========
I'm no Linux expert, and was wondering how to find out what the
correct major:minor is for the Ubi device nodes? Are they defined
somewhere in the Linux source code?
Thank you.
More information about the linux-mtd
mailing list