mail archive of the rauc mailing list
 help / color / mirror / Atom feed
* [RAUC] Question about mounting application FS
@ 2019-07-11  7:42 Patrick Schneider
  2019-07-11  8:23 ` Enrico Joerns
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Schneider @ 2019-07-11  7:42 UTC (permalink / raw)
  To: rauc


[-- Attachment #1.1: Type: text/plain, Size: 505 bytes --]

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.
Any help appreciated!
Regards,
Patrick

[-- Attachment #1.2: Type: text/html, Size: 2386 bytes --]

[-- Attachment #2: Type: text/plain, Size: 66 bytes --]

_______________________________________________
RAUC mailing list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RAUC] Question about mounting application FS
  2019-07-11  7:42 [RAUC] Question about mounting application FS Patrick Schneider
@ 2019-07-11  8:23 ` Enrico Joerns
  0 siblings, 0 replies; 2+ messages in thread
From: Enrico Joerns @ 2019-07-11  8:23 UTC (permalink / raw)
  To: Patrick Schneider; +Cc: rauc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-11  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11  7:42 [RAUC] Question about mounting application FS Patrick Schneider
2019-07-11  8:23 ` Enrico Joerns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox