# Persist partition

The board support package (BSP) software components use the persist partition defined for the universal flash storage (UFS) or embedded multimedia card (eMMC) to store persistent data across reboots.

Note

The files under the persist partition are supposed to remain intact, even after reboots and OTA updates.
Therefore, erasing or wiping the entire partition to delete files isn’t recommended.

## Persist mount point

The `/var/persist` directory is a mount point for a file system created on the persist partition.
The `var-persist-mount_1.0.bb` recipe is responsible for installing the
`var-persist.mount` systemd unit to `local-fs.target`.

At boot up, the `var-persist.mount` systemd unit creates `/var/persist`
path and mounts `/dev/disk/by-partlabel/persist` on `/var/persist`.
To display the persist mount point, run the mount command as follows:

sh-5.1# mount | grep persist
    /dev/sda4 on /var/persist type ext4 (rw,relatime,rootcontext=system_u:object_r:qcom_persist_t:s0,seclabel,stripe=128)
    Copy to clipboard

## Resize persist partition

The persist partition is autoresized by `resize-partition@persist.service` ,
which is installed by the `qcom-resize-partitions.bb` recipe. The `resize-partition`
service runs at device boot to expand the filesystem to the maximum
available size in the partition.

Last Published: Oct 17, 2025

[Previous Topic
Manage partitions in Qualcomm Linux](https://docs.qualcomm.com/bundle/publicresource/80-70022-27/topics/managing_partitions_in_qualcomm_linux.md) [Next Topic
Run Docker containers](https://docs.qualcomm.com/bundle/publicresource/80-70022-27/topics/run_docker_containers.md)