systemd-mount: support unmounting loop devices by backing files (#6211)
This makes `systemd-umount` or `systemd-mount -u` support unmounting loop devices by the corresponding backing files, like `systemd-mount --umount /tmp/foo.img /tmp/bar.img` Fixes #6206.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
0d787d5ff8
commit
6f6165bf7d
@@ -256,8 +256,9 @@
|
||||
<listitem><para>Stop the mount and automount units corresponding to the specified mount points
|
||||
<replaceable>WHERE</replaceable> or the devices <replaceable>WHAT</replaceable>.
|
||||
<command>systemd-mount</command> with this option or <command>systemd-umount</command> can take multiple arguments
|
||||
which can be path, device, or <filename>/etc/fstab</filename> style node name, like
|
||||
<command>systemd-mount --umount /path/to/umount /dev/sda1 UUID=xxxxxx-xxxx LABEL=xxxxx</command>.
|
||||
which can be mount points, devices, <filename>/etc/fstab</filename> style node names, or backing files
|
||||
corresponding to loop devices, like
|
||||
<command>systemd-mount --umount /path/to/umount /dev/sda1 UUID=xxxxxx-xxxx LABEL=xxxxx /path/to/disk.img</command>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user