Re: [RAUC] Question about mounting application FS

2019-07-11 Thread Enrico Joerns

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- |


___
RAUC mailing list


[RAUC] Question about mounting application FS

2019-07-11 Thread Patrick Schneider
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
___
RAUC mailing list