public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Hamish Moffatt <hamish@cloud.net.au>
Cc: linux-mtd@lists.infradead.org
Subject: Re: ext2 for read-only file system on UBI
Date: Mon, 19 May 2008 10:54:23 +0300	[thread overview]
Message-ID: <1211183663.27243.32.camel@sauron> (raw)
In-Reply-To: <20080519074403.GA17911@cloud.net.au>

On Mon, 2008-05-19 at 17:44 +1000, Hamish Moffatt wrote:
> > Yes, her layer is assumed to be R/W block device.
> > 
> > You could want to glance here as well:
> > 
> > http://www.linux-mtd.infradead.org/faq/general.html#L_ext2_mtd
> > http://www.linux-mtd.infradead.org/faq/ubi.html#L_ext2_over_ubi
> 
> Thanks for the links. So, read-write with mtdblock is dangerous
> (regardless of UBI) because it must erase and rewrite a whole block,
> right?

Yes, and you loose plenty of data in case of power-cuts.

>  Proposed ubiblk (linked from above) would use UBI ops to make the
> update operation safe.

I have not looked that close at Nancy's patches because I did not like
her unreasonable copy-paste stuff. But I assume she would do something
like I proposed here:

http://lists.infradead.org/pipermail/linux-mtd/2008-January/020381.html

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

  reply	other threads:[~2008-05-19  7:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19  6:21 ext2 for read-only file system on UBI Hamish Moffatt
2008-05-19  6:37 ` Artem Bityutskiy
2008-05-19  6:56   ` Hamish Moffatt
2008-05-19  7:08     ` Artem Bityutskiy
2008-05-19  7:44       ` Hamish Moffatt
2008-05-19  7:54         ` Artem Bityutskiy [this message]
2008-05-19  7:57           ` 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=1211183663.27243.32.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=hamish@cloud.net.au \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox