---
name: "systemd-mountfsd"
section: "8"
platform: "linux"
package: "systemd-container"
version: "257.13-1~deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/systemd-mountfsd.service"
---

# systemd-mountfsd(8)

Disk Image File System Mount Service

Part of [systemd-mountfsd.service(8)](/systemd-mountfsd.service/8.md).

## NAME

systemd-mountfsd.service, systemd-mountfsd - Disk Image File System Mount Service

## SYNOPSIS

systemd-mountfsd.service

/usr/lib/systemd/systemd-mountfsd

## DESCRIPTION

**systemd-mountfsd** is a system service that dissects disk images, and returns mount file descriptors for the file systems contained therein to clients, via a Varlink IPC API.

The disk images provided must contain a raw file system image or must follow the **Discoverable Partitions Specification**\[1\]. Before mounting any file systems authenticity of the disk image is established in one or a combination of the following ways:

 1\. If the disk image is located in a regular file in one of the directories /var/lib/machines/, /var/lib/portables/, /var/lib/extensions/, /var/lib/confexts/ or their counterparts in the /etc/, /run/, /usr/lib/ it is assumed to be trusted.

 2\. If the disk image contains a Verity enabled disk image, along with a signature partition with a key in the kernel keyring or in /etc/verity.d/ (and related directories) the disk image is considered trusted.

This service provides one **Varlink**\[2\] service: **io.systemd.MountFileSystem** which accepts a file descriptor to a regular file or block device, and returns a number of file descriptors referring to an **fsmount()** file descriptor the client may then attach to a path of their choice.

The returned mounts are automatically allowlisted in the per-user-namespace allowlist maintained by [**systemd-nsresourced.service**(8)](/systemd-nsresourced.service/8.md).

The file systems are automatically [**fsck**(8)](/fsck/8.md)'ed before mounting.

## SEE ALSO

[**systemd**(1)](/systemd/1.md), [**systemd-nsresourced.service**(8)](/systemd-nsresourced.service/8.md)

## NOTES

- 1\.

  Discoverable Partitions Specification

  https://uapi-group.org/specifications/specs/discoverable\_partitions\_specification/

- 2\.

  Varlink

  https://varlink.org/
