# Separation of the partitions for read-only and read-write mode

**URL:** <https://hub.mender.io/t/separation-of-the-partitions-for-read-only-and-read-write-mode/782>\
**Category:** General Discussions\
**Created:** [July 4, 2019, 6:32am UTC](https://hub.mender.io/t/separation-of-the-partitions-for-read-only-and-read-write-mode/782 "2019-07-04T06:32:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnachev](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mnachev](https://hub.mender.io/u/mnachev)\
**Post date:** [July 4, 2019, 6:32am UTC](https://hub.mender.io/t/separation-of-the-partitions-for-read-only-and-read-write-mode/782/1 "2019-07-04T06:32:44Z")

</div>

Hi,  
I would like to separate the partitions for read-only and read-write mode (Multi-Partitioning). This will reduce the risk of failure. For example ‘/var’, ‘/swap’, ‘/tmp’, ‘/etc/resolv.conf’, etc. can be in read-write mode and the rest of the partitions to be in read-only mode.  
Is it possible this to be done with Mender and how?  
Currently, I am interesting for Raspberry Pi 3B+ and Raspberry Pi 4, but this is in general for all embedded, industrial and critical solutions.

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [July 4, 2019, 7:53am UTC](https://hub.mender.io/t/separation-of-the-partitions-for-read-only-and-read-write-mode/782/2 "2019-07-04T07:53:03Z")

</div>

> Hi,  
> I would like to separate the partitions for read-only and read-write mode (Multi-Partitioning). This will reduce the risk of failure. For example ‘/var’, ‘/swap’, ‘/tmp’, ‘/etc/resolv.conf’, etc. can be in read-write mode and the rest of the partitions to be in read-only mode.  
> Is it possible this to be done with Mender and how?

Mender operates on the following partitions,

- boot (optional)
- rootfsa (stateless - can be put in RO)
- rootfsb (stateless - can be put in RO)
- data (read-write for persistent data)

And anything you want to keep read-write in the rootfs parts you need to link to the data part
