|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- [Unit]
- Description=Mount a Filesystem Mount Point
-
- [Mount]
- # Takes an absolute path of a device node,
- # file or other resource to mount. See mount(8)
- # for details. If this refers to a device node,
- # a dependency on the respective device unit
- # is automatically created. (See
- # systemd.device(5) for more information.)
- # This option is mandatory. Note that the usual
- # specifier expansion is applied to this setting,
- # literal percent characters should hence be
- # written as "%%".
- What=/dev/sdx
-
- # Takes an absolute path of a directory for the
- # mount point; in particular, the destination
- # cannot be a symbolic link. If the mount point
- # does not exist at the time of mounting, it is
- # created. This string must be reflected in the
- # unit filename.
- Where=/mount
-
- # Takes a string for the file system type.
- # Type=btrfs
-
- # Mount options to use when mounting. This takes
- # a comma-separated list of options. This setting
- # is optional. Note that the usual specifier
- # expansion is applied to this setting, literal
- # percent characters should hence be written as "%%".
- #Options=
-
- # If true, parsing of the options specified in
- # Options= is relaxed, and unknown mount
- # options are tolerated.
- #SloppyOptions=false
-
- # If true, detach the filesystem from the
- # filesystem hierarchy at time of the unmount
- # operation, and clean up all references to the
- # filesystem as soon as they are not busy anymore.
- # This corresponds with umount(8)'s -l switch.
- #LazyUnmount=false
-
- # If true, force an unmount (in case of an
- # unreachable NFS system). This corresponds with
- # umount(8)'s -f switch.
- #ForceUnmount=false
-
- # Directories of mount 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.
- #DirectoryMode=0755
-
- # Configures the time to wait for the mount command
- # to finish. If a command does not exit within the
- # configured time, the mount will be considered failed
- # and be shut down again. All commands still running
- # will be terminated forcibly via SIGTERM, and after
- # another delay of this time with SIGKILL. (See
- # KillMode= in systemd.kill(5).) Takes a unit-less
- # value in seconds, or a time span value such as
- # "5min 20s". Pass 0 to disable the timeout logic.
- #TimeoutSec=20s
-
- [Install]
- WantedBy=multi-user.target
|