Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Manuel Sahm <Manuel.Sahm@feig.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: How to update UBIFS while running an application ?
Date: Sat, 04 Apr 2009 18:25:45 +0300	[thread overview]
Message-ID: <1238858745.15222.19.camel@localhost.localdomain> (raw)
In-Reply-To: <49D622FA.187F.00BC.1@feig.de>

Hi,

I could not chat to you because my client died, sorry.

On Fri, 2009-04-03 at 14:53 +0200, Manuel Sahm wrote:
> Hello,
>  
> I have 3 UBIFS mounted - one is the RFS, another one is mounted in
> /mnt/ubi1/ and the last one is mounted in /mnt/ubi2/
> My main application is in /mnt/ubi1/ and is running.
>  
> How could I update the actual ubifs ubi0_0, ubi1_0 and ubi2_0 ?
>  
> I tried ist with 
> 1.) flash_eraseall
> 2.) nandwrite
> ---> This doesn´t work -> after restart I got errors -> RFS is damaged
> and doesn´t boot anymore
>  
> another try:
> 1.) ubiupdatevol
> -----> the problem - this program doesn´t work if the ubifs is mounted
> - but I can´t unmount /mnt/ubi1 or /mnt/ubi2 or the RFS because there
> are applications running.

I'm not sure what exactly you ask, but you cannot update UBIFS
file system while it is mounted. You have to unmount it first.
Does any file-system allows this at all?

Or I misunderstood your questions?

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

  reply	other threads:[~2009-04-04 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 12:53 How to update UBIFS while running an application ? Manuel Sahm
2009-04-04 15:25 ` Artem Bityutskiy [this message]
2009-04-06  8:15   ` Ricard Wanderlof

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=1238858745.15222.19.camel@localhost.localdomain \
    --to=dedekind@infradead.org \
    --cc=Manuel.Sahm@feig.de \
    --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