# Mounting into mount namespaces

DevFeed: [Mounting into mount namespaces](<https://devfeed.tech/articles/mounting-into-mount-namespaces-33955.md>)

Original publisher: [Read original article](<https://brauner.io/2023/02/28/mounting-into-mount-namespaces.html>)

Author: Christian Brauner

Published: 2023-02-27T23:00:00Z

Content type: article

Language: en

Sources: [Personal blog of Christian Brauner](<https://devfeed.tech/sources/personal-blog-of-christian-brauner.md>)

Topics: [mount](<https://devfeed.tech/topics/mount.md>), [kernels](<https://devfeed.tech/topics/kernels.md>), [file](<https://devfeed.tech/topics/file.md>), [coding](<https://devfeed.tech/topics/coding.md>)

Tags: [coding](<https://devfeed.tech/tags/coding.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [mount](<https://devfeed.tech/tags/mount.md>)

## AI overview

This article examines how to insert new mounts into a running container's mount namespace. It discusses the complexity of mount operations, a legacy userspace path-verification approach, and a newer approach intended to prevent symlink attacks by verifying paths and opening their final components before mounting.

## Source excerpt

Introduction