]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: Add systemd-dissect --umount 24141/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 27 Jul 2022 23:55:11 +0000 (01:55 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 3 Aug 2022 18:55:32 +0000 (20:55 +0200)
commitac1f1adfc6309a29d9d59201852af961dde87c24
tree3af09f40dfc3a71583f5ff679880162518b8f72d
parent35d40302af8ac1c8dfb7c970e621d2636a906851
dissect: Add systemd-dissect --umount

This command takes a mountpoint, unmounts it and makes sure the
underlying partition devices and block device are removed before
exiting.

To mirror the --mount operation, we also add a --rmdir option which
does the opposite of --mkdir, and a -U option which is a shortcut
for --umount --rmdir.
man/systemd-dissect.xml
src/dissect/dissect.c
test/units/testsuite-50.sh