SYSTEMD-MOUNT(1) systemd-mount SYSTEMD-MOUNT(1) (NAME) systemd-mount, systemd-umount - - (SYNOPSIS) systemd-mount [OPTIONS...] WHAT [WHERE] systemd-mount [OPTIONS...] --tmpfs [NAME] WHERE systemd-mount [OPTIONS...] --list systemd-mount [OPTIONS...] --umount WHAT|WHERE... (DESCRIPTION) systemd-mount .mount .automount WHAT WHERE . systemd-mount mount(8) systemd-mount ( ) . . ( "/dev/sdb1" "/path/to/disk.img"). /run/media/system/ . . ( USB) (automount) ( --automount= ). --tmpfs . (WHAT) (WHERE) . . --discover - - . --list . systemd-umount . systemd-mount --umount . (OPTIONS) : --no-block . systemd-mount . . 232 . -l, --full --list . 245 . --no-pager (pager) . --no-legend (legend) . --no-ask-password . --json=MODE JSON . "short" ( ) "pretty" ( ) "off" ( JSON ) . --quiet, -q . 232 . --discover . . . . ( USB) . 232 . --type=, -t ( "vfat" "ext4"). "auto" . 232 . --options=, -o . 232 . --owner=USER USER . uid= gid= . . 237 . --fsck= (on) . (fsck) . ( --automount= ) . 232 . --description= . Description= systemd.unit(5) . 232 . --property=, -p . set-property systemctl(1) . 232 . --automount= . . true . false . . --timeout-idle-sec= ( ) . false . --discover ( --discover ) true . 232 . -A --automount=yes . 232 . --timeout-idle-sec= . "infinity" () . . systemd.time(7) . . --discover ( --discover ) --timeout-idle-sec=1s . 232 . --automount-property= --property= . 232 . --bind-device / . . . (block) . . --discover ( --discover ) . Requires= . x-systemd.device-bound= systemd.mount(5) . x-systemd.device-bound=no . 232 . --list "systemd-mount" . 232 . -u, --umount WHERE WHAT . systemd-mount systemd-umount /etc/fstab systemd-mount --umount /path/to/umount /dev/sda1 UUID=xxxxxx-xxxx LABEL=xxxxx /path/to/disk.img. -H -M . 233 . -G, --collect . systemctl reset-failed . . << >> (garbage collection) . --property=CollectMode=inactive-or-failed CollectMode= systemd.unit(5) . 236 . -T, --tmpfs tmpfs WHERE NAME "tmpfs" . umask(2) rwxrwxrwx umask (mask) . mkdir(1) "rwxrwxrwxt" ( sticky ) . 255 . --canonicalize= (canonicalize) . true . ( --machine= --host= ) . ".." LABEL=/UUID= . ".." LABEL=/UUID=/... . 258 . --user . --system . . -H, --host= . "@" . ssh ( ":") ( "/") . SSH . machinectl -H HOST . IPv6 . -M, --machine= . "@" . ".host" ( : "--user --machine=lennart@.host"). "@" root . "@" ( ) ".host" . -h, --help . --version . (EXIT STATUS) 0 . UDEV (THE UDEV DATABASE) --discover systemd-mount udev : SYSTEMD_MOUNT_OPTIONS= --options= . 232 . SYSTEMD_MOUNT_WHERE= . 232 . (EXAMPLE) udev USB : ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", \ RUN{program}+="/usr/bin/systemd-mount --no-block --automount=yes --collect $devnode" (SEE ALSO) systemd(1), mount(8), systemctl(1), systemd.unit(5), systemd.mount(5), systemd.automount(5), systemd-run(1) systemd 261.2 SYSTEMD-MOUNT(1)