All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Daniel Ehrenberg <dehrenberg@google.com>,
	Charles Godson <cestgodson@gmail.com>
Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	w@1wt.eu
Subject: Re: Block device emulation on top of ubi volumes with read/write support
Date: Thu, 21 Jan 2016 01:12:36 +0100	[thread overview]
Message-ID: <56A02274.3010705@nod.at> (raw)
In-Reply-To: <CAAK6Zt1UCYizAeGZ9E5wtzaEChRfAOVDdQyUzBu=gCx+2mvYaQ@mail.gmail.com>

Am 21.01.2016 um 00:54 schrieb Daniel Ehrenberg:
> On Wed, Jan 20, 2016 at 3:30 PM, Charles Godson <cestgodson@gmail.com> wrote:
>> Thanks for quick reply. I replaced YAFFS2 root file system with SQUASHFS on
>> top of UBI [1], and so far it works like a charm. I am currently using UBIFS
>> on "user" partitions. Mostly, I needed quota on them, and there was nothing
>> in the works about a year ago. I was exploring different avenues: add quota
>> support to UBIFS or use [2]. However, I saw that UBIFS quota support is
>> introduced somewhere in July [3].
>>
>> After your explanations and suggestions above, I think ext4 is not really an
>> option for me. Since quota support for UBIFS is already in the works, the
>> choice is fairly clear :) .
>>
>> Thanks for your help on this.
>>
>> [1] http://lists.infradead.org/pipermail/linux-mtd/2014-February/052261.html
>> [2] https://lwn.net/Articles/525957/
>> [3] https://lwn.net/Articles/651925/
>>
>> Best regards,
>> Charles
>>
> I was also looking into using squashfs on top of ubiblock, hoping to
> write to overwrite a particular entire UBI partition with read-write
> ubiblock support. I ended up using separate MTD partitions each
> squashfs volume, with an UBI instance on each one, which could then be
> updated using the ubi formatting tools, rather than writing through
> ubiblock. Maybe UBIFS would be a better design, in retrospect.

What is wrong with having a single MTD parition and multiple UBI volumes?
You can use ubiupdatevol to update your squahsfs.

Thanks,
//richard

  reply	other threads:[~2016-01-21  0:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CADC-h+GSekez10TVYV3pJsiD=YPY=WawG5cN_ZrJJb0zP7Xu=g@mail.gmail.com>
2016-01-20 21:50 ` Block device emulation on top of ubi volumes with read/write support Ezequiel Garcia
2016-01-20 22:39   ` Richard Weinberger
     [not found]     ` <CADC-h+H=qwue4Ubr7kKOxjweH_0npTwepvnemcnEKAtb3sMPcA@mail.gmail.com>
2016-01-20 23:54       ` Daniel Ehrenberg
2016-01-21  0:12         ` Richard Weinberger [this message]
2016-01-21  0:19           ` Daniel Ehrenberg
2016-01-21  0:21             ` Richard Weinberger
2016-01-21  0:29               ` Charles Godson
2016-01-21  0:35                 ` Richard Weinberger
2016-01-21  0:51                   ` Charles Godson
2016-01-21  9:29                     ` Richard Weinberger

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=56A02274.3010705@nod.at \
    --to=richard@nod.at \
    --cc=cestgodson@gmail.com \
    --cc=dehrenberg@google.com \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=linux-mtd@lists.infradead.org \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=w@1wt.eu \
    /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.