# Mount /dev/serial0 to container

**URL:** <https://forums.balena.io/t/mount-dev-serial0-to-container/322426>\
**Category:** balenaOS\
**Created:** [May 31, 2021, 12:16pm UTC](https://forums.balena.io/t/mount-dev-serial0-to-container/322426 "2021-05-31T12:16:00Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![bversluijs](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/bversluijs/32/3954_2.png) [@bversluijs](https://forums.balena.io/u/bversluijs)\
**Post date:** [June 4, 2021, 8:03am UTC](https://forums.balena.io/t/mount-dev-serial0-to-container/322426/7 "2021-06-04T08:03:13Z")

</div>

Hi Anton,

Thanks for your suggestion. I know they’re symbolic links to `ttyS0` or `ttyAMA0`. However, they’re created by the OS itself and determined by whether the miniuart-bt dtoverlay is set. If it’s set, `serial0` is `ttyAMA0`. If not, it’s pointing to `ttyS0`.

Now, I can imagine you might say “use `miniuart-bt` on all your devices then”, but because of [an issue that happened recently](https://forums.balena.io/t/dtoverlay-overwritten-with-vc4-fkms-v3d/322400), which took quite some time to debug on our running devices, I’d like to use the `serial0` symlink of the OS itself. If the `miniuart-bt` overlay was overwritten, the application would still function.

---

_[View the full topic](https://forums.balena.io/t/mount-dev-serial0-to-container/322426)._
