summaryrefslogtreecommitdiff
path: root/src/core/mount.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-06-06 15:10:20 +0200
committerTom Gundersen <teg@jklm.no>2014-06-07 00:22:19 +0200
commit0e252f6b375af59eac9bd6d2fe8dd6ee2f51998d (patch)
tree276e5c8182e0af6ec5293dbbf52adfa19dde9398 /src/core/mount.c
parente5a1c18d706c4d5e16100fe4fb8a07a80f2fa339 (diff)
core: allow transient mount units
For now only What=, Options=, Type= are supported, and Where= is deduced from the unit name.
Diffstat (limited to 'src/core/mount.c')
-rw-r--r--src/core/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index a979837071..14ac0a060e 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -1819,6 +1819,8 @@ const UnitVTable mount_vtable = {
.get_timeout = mount_get_timeout,
+ .can_transient = true,
+
.enumerate = mount_enumerate,
.shutdown = mount_shutdown,