Close Menu
    What's Hot

    YouTube Unblocked Proxy: Overview, Benefits, and Real-World Use Cases

    April 7, 2026

    Linux Kernel Release Frequency Statistics 2026

    April 7, 2026

    How To Use The SSH Login Command

    April 7, 2026
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • Man Pages
    • Arch Linux
    • Statistics
    • How to
      • Q&A
    • OS
      • Windows
    • Blog
      • Featured
    • MORE
      • Easter Eggs
      • IP Address
    • Write For Us
    • Contact Us
    Command Linux
    Home - man page - SYSTEMD.AUTOMOUNT

    SYSTEMD.AUTOMOUNT

    WillieBy WillieJanuary 28, 2026Updated:January 29, 2026No Comments2 Mins Read

    NAME

    systemd.automount – Automount unit configuration  

    SYNOPSIS

    automount.automount  

    DESCRIPTION

    A unit configuration file whose name ends in ".automount" encodes information about a file system automount point controlled and supervised by systemd.

    This man page lists the configuration options specific to this unit type. See systemd.unit(5) for the common options of all unit configuration files. The common configuration items are configured in the generic [Unit] and [Install] sections. The automount specific configuration options are configured in the [Automount] section.

    Automount units must be named after the automount directories they control. Example: the automount point /home/lennart must be configured in a unit file home-lennart.automount. For details about the escaping logic used to convert a file system path to a unit name see systemd.unit(5).

    For each automount unit file a matching mount unit file (see systemd.mount(5) for details) must exist which is activated when the automount path is accessed. Example: if an automount unit home-lennart.automount is active and the user accesses /home/lennart the mount unit home-lennart.mount will be activated.

    Automount units may be used to implement on-demand mounting as well as parallelized mounting of file systems.

    If an automount point is beneath another mount point in the file system hierarchy, a dependency between both units is created automatically.  

    FSTAB

    Automount units may either be configured via unit files, or via /etc/fstab (see fstab(5) for details).

    For details how systemd parses /etc/fstab see systemd.mount(5).

    If an automount point is configured in both /etc/fstab and a unit file, the configuration in the latter takes precedence.  

    OPTIONS

    Automount files must include an [Automount] section, which carries information about the file system automount points it supervises. The options specific to the [Automount] section of automount units are the following:

    Where=

    Takes an absolute path of a directory of the automount point. If the automount point does not exist at time that the automount point is installed, it is created. This string must be reflected in the unit filename. (See above.) This option is mandatory.

    DirectoryMode=

    Directories of automount points (and any parent directories) are automatically created if needed. This option specifies the file system access mode used when creating these directories. Takes an access mode in octal notation. Defaults to 0755.

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    E2FREEFRAG

    April 7, 2026

    Net::DNS::RR::DHCID

    April 7, 2026

    LOGROTATE

    April 7, 2026

    EVP_MD_CTX_destroy

    April 7, 2026
    Top Posts

    NETCONFIG

    January 23, 2026

    How to Check RAM in Linux

    January 28, 2026

    Delta Math Login Guide

    March 27, 2026

    clear

    March 1, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.