mail archive of the rauc mailing list
 help / color / mirror / Atom feed
From: Enrico Joerns <ejo@pengutronix.de>
To: Patrick Schneider <patrick.schneider@bhtronik.de>
Cc: "rauc@pengutronix.de" <rauc@pengutronix.de>
Subject: Re: [RAUC] Question about mounting application FS
Date: Thu, 11 Jul 2019 10:23:17 +0200	[thread overview]
Message-ID: <b58b61d1-6483-e9c5-f9f7-93b7a1b8c945@pengutronix.de> (raw)
In-Reply-To: <AM0PR08MB3842F254E74D986A4C9F206CEBF30@AM0PR08MB3842.eurprd08.prod.outlook.com>

Hi Patrick,

On 7/11/19 9:42 AM, Patrick Schneider wrote:
> Hi there,
> 
> we are currently using RAUC in A + B mode with rootFS and appFS in each slot. So 
> far so good, integration worked and RAUC does its job in updating all the slots 
> and communicating with barebox. Now we wondered what is best practice in 
> mounting the right appFS for the corresponding rootFS? When rootFS0 boots the 
> appFS0 has to be mounted and when rootFS1 boots we need appFS1. We couldn’t find 
> a hint how to do that properly in the RAUC documentation.

this can be done using proper udev rules for creating device aliases (symlinks) 
that are then used for mounting.
How this is to be solved in detail depends a little on which storage type you 
are actually using and how you boot.
Maybe you can add some more details here.

We have a work-in-progress Pull-Request targeting a documentation update for 
this. It actually handles data partition mounting but the considerations are 
valid for an appfs, too.

   https://github.com/rauc/rauc/pull/370


Best regards,

Enrico

P.S: I've moderated your mail free, but please consider subscribing to the 
mailing list to ease sending / receiving messages to / from this list.

-- 
Pengutronix e.K.                           | Enrico Jörns                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


_______________________________________________
RAUC mailing list

      reply	other threads:[~2019-07-11  8:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11  7:42 Patrick Schneider
2019-07-11  8:23 ` Enrico Joerns [this message]

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=b58b61d1-6483-e9c5-f9f7-93b7a1b8c945@pengutronix.de \
    --to=ejo@pengutronix.de \
    --cc=patrick.schneider@bhtronik.de \
    --cc=rauc@pengutronix.de \
    /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