Ubifs

Artem Bityutskiy dedekind at infradead.org
Wed Dec 10 06:04:52 EST 2008


On Wed, 2008-12-10 at 11:02 +0200, Жека wrote:
> Hi all,
> I wanna have a try ubifs on nand, and do as written on
> http://www.linux-mtd.infradead.org/faq/ubifs.html
> 1. compile, install and boot the kernel (2.6.26-rc3)
> the configuration option for ubi and nand is default on as module.
> 2. make the mtd-utils.
> 3. create a ubi when I got the error
> 
> # ubiattach /dev/ubi_ctrl -m 0
> UBI device number 0, total 2048 LEBs (31457280 bytes, 30.0 MiB), available
> 2024
> LEBs (31088640 bytes, 29.6 MiB), LEB size 15360 bytes (15.0 KiB)
> # ubinfo
> UBI version:                    1
> Count of UBI devices:           1
> UBI control device major/minor: 10:63
> Present UBI devices:            ubi0
> # ubimkvol /dev/ubi0 -N test -s 30MiB
> ubimkvol: error!: "/dev/ubi0" is not an UBI device node

Hi, please check this:

cat /sys/class/ubi/ubi0_0/dev
and
ls -l /dev/ubi0_0
Major/minor should match. E.g., on my system I have:

[dedekind at gollum /]$ cat /sys/class/ubi/ubi0_0/dev
252:1
[dedekind at gollum /]$ ls -l /dev/ubi0_0
crw-rw---- 1 root root 252, 1 2008-12-08 17:11 /dev/ubi0_0

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list