Mount Removable Media With systemd-mount
Create a transient mount point that works with desktop auto-mounting.
Run systemd-mount /dev/sdb1 /mnt/usb to mount a device for the current session.
01Command
Command
$ systemd-mount /dev/sdb1 /mnt/usb02What it does
systemd-mount creates a temporary mount unit and, when run as a normal user with polkit, can mount removable devices without an fstab entry. That makes it scriptable on workstations where sudo access should be limited, and systemd-umount cleans it up.
03Risk
!Warning: Transient mounts disappear on reboot; for permanent mounts edit fstab or create a mount unit.
04Undo
Undo
$ systemd-umount /mnt/usb05Sources
- systemd-mount.1.en.html manual page (Debian bookworm)Evidence: Documents systemd-mount for transient mounts, including unprivileged use.
Last verified: 2026-10-13 · Category: System & Settings
06Related solutions
Search text recursively in a directory with grep
Find every occurrence of a pattern across all files in a tree, printed as file:line:number matches.
Extract a .tar.gz archive with tar
Unpack a gzipped tarball into the current directory while printing each file as it is extracted.
Check free disk space on each filesystem with df
Show total, used, and available space plus usage percentage for every mounted filesystem in human-readable units.