Ubifs

Artem Bityutskiy dedekind at infradead.org
Wed Dec 10 06:55:05 EST 2008


Hi,

On Wed, 2008-12-10 at 13:44 +0200, Жека wrote:
> Hi Artem!!! 
> On my system after create UBI device /dev/ubi0_0 it was not created...


Err, sorry, I confused you because in my reply I used UBI _volume_
nodes, not UBI device nodes.

/dev/ubiX are UBI device nodes.
/dev/ubiX_Y are UBI volume nodes - volume Y on device X.

So I think when you successfully create the volume, you'll get the
volume device.

But you got it right, judging from your response.

> I did check... here is a result
> 
> # cat /sys/class/ubi/ubi0/dev
> 253:0
> # ls -l /dev/ubi0
> brw-rw----    1 root     root     253,   0 Jan  1 00:11 /dev/ubi0 

It should be character device, not block device, i.e. use

mknod /dev/ubi0 c 253 0

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




More information about the linux-mtd mailing list