public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Manoj <manoj23@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: ubiformat error
Date: Tue, 02 Jun 2009 15:21:19 +0300	[thread overview]
Message-ID: <1243945279.5847.27.camel@localhost.localdomain> (raw)
In-Reply-To: <1c3f4270905281908g75069b39sbc2167b5a3d32d1b@mail.gmail.com>

On Thu, 2009-05-28 at 19:08 -0700, Manoj wrote:
> I am trying to flash an UBI image to NAND flash. But I get an error
> about "No such file or directory".
> 
> # cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 01000000 00020000 "NAND-block1"
> mtd1: 01e00000 00020000 "jffs2"
> mtd2: 0d200000 00020000 "NAND-block2"
> # ubiformat /dev/mtd1
> ubiformat: error!: cannot get information about "/dev/mtd1"
>            error 2 (No such file or directory)
> # ls -l /dev/mtd1
> crw-rw-r--    1 root     root      90,   2 Dec 31 16:00 /dev/mtd1
> 
> I am able to do ubiattach with mtd1, create an empty volume and mount
> the volume as ubifs.

Hi, I've just push a fix for this to mtd-utils git. Please,
verify it. Thanks.

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

  parent reply	other threads:[~2009-06-02 12:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29  2:08 ubiformat error Manoj
2009-05-29 16:04 ` Artem Bityutskiy
2009-05-31  8:02   ` Manoj
2009-06-02 12:21 ` Artem Bityutskiy [this message]
2009-06-03 16:53   ` Manoj

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=1243945279.5847.27.camel@localhost.localdomain \
    --to=dedekind@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manoj23@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox