All of lore.kernel.org
 help / color / mirror / Atom feed
From: twebb <taliaferro62@gmail.com>
To: Arno Steffen <arno.steffen@googlemail.com>
Cc: linux-mtd@lists.infradead.org, dedekind1@gmail.com
Subject: Re: error!: "/dev/ubi0" is not a character device ?!?
Date: Thu, 5 Aug 2010 09:23:46 -0400	[thread overview]
Message-ID: <AANLkTi=4FzeMQAgOFg8gQ9Z6gjXjSg36QSOvEryA72zs@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikZb=R=8BObvTN6uGaZGAmvvUZd4oYKvkCJih7H@mail.gmail.com>

>
> cat /proc/devices give me back, that  (252 ubi8) is a character device.
> But looking above, in /dev it is listed as block device !?!
>
> For me creating entries are not transparent, this happend with
> ubiattach. No idea how to force ubiattach to write ubi8 in the
> devicelist as character device.
> Best regards
> Arno
>

I see similar oddities on my 2.6.29 kernel with UBI.  ls shows ubi
devices as blocks, but /proc/devices shows then as char devices.

[/]#
[/]# ls -l /dev/ubi*
brw-rw----    1 root     root     250,   0 Aug  5 12:53 /dev/ubi0
brw-rw----    1 root     root     250,   1 Aug  5 12:53 /dev/ubi0_0
brw-rw----    1 root     root     250,   2 Aug  5 12:53 /dev/ubi0_1
brw-rw----    1 root     root     250,   3 Aug  5 12:53 /dev/ubi0_2
brw-rw----    1 root     root     250,   4 Aug  5 12:53 /dev/ubi0_3
crw-rw----    1 root     root      10,  62 Aug  5 12:53 /dev/ubi_ctrl
[/]#
[/]# cat /proc/devices
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
 81 video4linux
 90 mtd
108 ppp
116 alsa
128 ptm
136 pts
180 usb
188 ttyUSB
189 usb_device
216 rfcomm
250 ubi0
251 usb_endpoint
252 usbmon
253 ttyHS
254 rtc

Block devices:
  1 ramdisk
259 blkext
  7 loop
  8 sd
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
[/]#

  reply	other threads:[~2010-08-05 13:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 12:00 error!: "/dev/ubi0" is not a character device ?!? Arno Steffen
2010-07-26 13:14 ` Artem Bityutskiy
2010-07-26 13:49   ` Arno Steffen
2010-07-27 15:25     ` Artem Bityutskiy
2010-07-28 11:04       ` Arno Steffen
2010-07-30  6:35         ` Artem Bityutskiy
2010-08-05 11:55           ` Arno Steffen
2010-08-05 13:23             ` twebb [this message]
2010-08-05 13:36             ` Artem Bityutskiy
     [not found]             ` <AANLkTikkRNqnEX0PkHigv=zT+Z36J52DEtoVeMGbBExf@mail.gmail.com>
2010-08-16 11:27               ` Arno Steffen
2010-08-23 12:34                 ` Artem Bityutskiy
2010-08-23 14:13                   ` Arno Steffen
2010-08-23 14:41                     ` Artem Bityutskiy
2010-08-24  8:32                       ` Arno Steffen
2010-08-24  8:53                         ` Artem Bityutskiy
2010-08-24  9:19                           ` Arno Steffen
2010-08-24  9:33                             ` Artem Bityutskiy
2010-07-30  6:23     ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=4FzeMQAgOFg8gQ9Z6gjXjSg36QSOvEryA72zs@mail.gmail.com' \
    --to=taliaferro62@gmail.com \
    --cc=arno.steffen@googlemail.com \
    --cc=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.