public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [Ubi] Wrong major:minor
@ 2011-05-29 10:39 Gilles
  2011-05-29 13:22 ` Gilles
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Gilles @ 2011-05-29 10:39 UTC (permalink / raw)
  To: linux-mtd

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.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-06-24 14:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-29 10:39 [Ubi] Wrong major:minor Gilles
2011-05-29 13:22 ` Gilles
2011-05-29 15:54 ` Mike Frysinger
2011-05-30  9:53   ` Gilles
2011-05-30 12:06     ` Gilles
2011-05-30 15:00       ` Gilles
2011-05-30 16:29     ` Mike Frysinger
2011-06-01 11:22       ` Gilles
2011-06-01  8:29   ` Artem Bityutskiy
2011-06-01  8:36 ` Artem Bityutskiy
2011-06-01  8:37   ` Artem Bityutskiy
2011-06-01 10:11     ` Mike Frysinger
2011-06-01 10:14       ` Artem Bityutskiy
2011-06-24 11:46       ` Peter Korsgaard
2011-06-24 12:05         ` Gilles
2011-06-24 14:33         ` Mike Frysinger
2011-06-01 11:21     ` Gilles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox