# Listing all mounts in all mount namespaces

DevFeed: [Listing all mounts in all mount namespaces](<https://devfeed.tech/articles/listing-all-mounts-in-all-mount-namespaces-33956.md>)

Original publisher: [Read original article](<https://brauner.io/2024/12/16/list-all-mounts.html>)

Author: Christian Brauner

Published: 2024-12-15T23:00:00Z

Content type: tutorial

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>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mount](<https://devfeed.tech/tags/mount.md>)

## AI overview

A technical explanation of Linux APIs and system calls for retrieving mount information, iterating through mounts and mount subtrees, and listing mounts in other mount namespaces. It also describes retrieving mount namespace IDs and iterating through mount namespaces.

## Source excerpt

Introduction