/dev/ubi{x} MAJOR number enumeration
Artem Bityutskiy
dedekind1 at gmail.com
Thu Nov 22 02:29:07 EST 2012
On Wed, 2012-11-14 at 18:02 +0100, simon widmer wrote:
> hej,
>
> I'm faceing an issue with ubi-enumeration. I am using UBI out of
> mtd-1.5, i hope its more or less recent.
> My issue is as follows. i have 7 ubi partitions. if im detaching every
> partition and try to reattach a single partition, in this case /dev/mtd6
> to /dev/ubi2, there is some issue with the MAJOR nummer. I suppose its
> ubiattach's fault, it tells me to have attached the partition to ubi2
> but in fact it attached it to the first (ubi0). Please consult the log
> below.
> Is it me how is maloperating or is this a bug?
Not sure what is going on. The ubi tools use /sys/class/ubi/ directory
for finding most of the things. I suggest you to clone the latest
mtd-utils, compile UBI tools with -g, and debug with gdb and see what
see what is going on.
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121122/7fa26d3d/attachment.sig>
More information about the linux-mtd
mailing list