aristanetworks / bst

A one-stop shop for process isolation
MIT License
99 stars 9 forks source link

mount: make bst_devtmpfs work on /dev #43

Closed Snaipe closed 3 years ago

Snaipe commented 3 years ago

Previously, bst would give up trying to setup the fake devtmpfs mount if the target was the host /dev. This was because setting up the fake devtmpfs involved bind-mounting devices from the original /dev.

This commit makes this problem disappear by preparing said mount on /tmp if we're trying to mount over the host /dev.