# Integrating timedatectl//systemd-timesyncd with readonly root file system

**URL:** <https://hub.mender.io/t/integrating-timedatectl-systemd-timesyncd-with-readonly-root-file-system/2323>\
**Category:** General Discussions\
**Tags:** yocto, raspberrypi-cm3, systemd, warrior\
**Created:** [August 17, 2020, 8:38pm UTC](https://hub.mender.io/t/integrating-timedatectl-systemd-timesyncd-with-readonly-root-file-system/2323 "2020-08-17T20:38:53Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [August 20, 2020, 5:23pm UTC](https://hub.mender.io/t/integrating-timedatectl-systemd-timesyncd-with-readonly-root-file-system/2323/8 "2020-08-20T17:23:12Z")

</div>

I assume that is a standard system function provided by the C library or some such.  
One possibility may be to use a bind mount of /etc/localtime into the /data partition. I have not tried it myself but that may work:

> # mount -t bind /data/localtime /etc/localtime

And then /data/localtime is the symlink to the file in /usr/share/zoneinfo.

Drew

---

_[View the full topic](https://hub.mender.io/t/integrating-timedatectl-systemd-timesyncd-with-readonly-root-file-system/2323)._
