summaryrefslogtreecommitdiff
path: root/src/core/dbus-target.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-01-28 13:53:25 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-28 17:02:28 +0100
commit06e97888883e2cc12eb6514e80c7f0014295f59b (patch)
tree88e8c008cdff4cf33d968740398fd8524b40fdb5 /src/core/dbus-target.c
parent3315f085178f46155fda345d9526c09083b45946 (diff)
core/mount: add dependencies to dynamically mounted mounts too
Add unit dependencies for dynamic (i. e. not from fstab) mounts. With that, mount units properly bind to their underlying device, and thus get automatically stopped/unmounted when the underlying device goes away. This cleans up stale mounts from unplugged devices. Thanks to Lennart Poettering for pointing out the fix!
Diffstat (limited to 'src/core/dbus-target.c')
0 files changed, 0 insertions, 0 deletions