systemd-umount
Alias for systemd-mount --umount
TLDR
Unmount a filesystem by mount point
$ systemd-umount [/mnt/usb]
Unmount a filesystem by device path$ systemd-umount [/dev/sdb1]
Unmount and discover the mount point automatically$ systemd-umount --discover [/dev/sdb1]
SYNOPSIS
systemd-umount [options] target...
DESCRIPTION
systemd-umount is equivalent to systemd-mount --umount. It unmounts filesystems by creating transient systemd `.mount` units that handle the unmount operation. It can unmount by mount point path or device path.
See the systemd-mount documentation for full details on options.
PARAMETERS
--discover
Discover the mount point for a device automatically--no-block
Do not wait for the unmount operation to complete
SEE ALSO
systemd-mount(1), umount(8), mount(8)
