From: Matthias Fuchs <matthias.fuchs@esd.eu>
To: dedekind1@gmail.com
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Updating UBIFS rootfilesystem
Date: Fri, 24 Feb 2012 09:14:32 +0100 [thread overview]
Message-ID: <4F4746E8.9040002@esd.eu> (raw)
In-Reply-To: <1329141475.22240.151.camel@sauron.fi.intel.com>
On 02/13/2012 02:57 PM, Artem Bityutskiy wrote:
> On Wed, 2012-02-08 at 13:44 +0100, Matthias Fuchs wrote:
>> Hi,
>>
>> is there an elegant way to update an UBIFS rootfilesystem?
>>
>> Let's say I have enough flash space for my actual rootfilesystem
>> (rootfs1) and a new version (rootfs2). So while running from rootfs1
>> I updated rootfs2 volume with a new rootfilesystem.
>
> I you cannot update a mounted fs - you have to unmount it first. If you
> are able to do this, you should be able to ubirename.
So I was thinking that a ubirename is not really an update and expected the rename
op to work even on a mounted fs.
I solved the issue by booting an initramfs first. There I do the rename "rootfs2" exists and then switch root
next prev parent reply other threads:[~2012-02-24 8:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-08 12:44 Updating UBIFS rootfilesystem Matthias Fuchs
2012-02-13 13:57 ` Artem Bityutskiy
2012-02-24 8:14 ` Matthias Fuchs [this message]
2012-02-24 9:47 ` Ricard Wanderlof
2012-03-09 7:53 ` Artem Bityutskiy
2012-02-24 8:16 ` Matthias Fuchs
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=4F4746E8.9040002@esd.eu \
--to=matthias.fuchs@esd.eu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox