summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-02 00:28:44 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-02 00:28:44 +0200
commit3e5235b0d95020e8260d8deb6d7b070b0e0c60be (patch)
treeae2be3467b41db199a553602d821835b9bed2518 /src/load-fragment.c
parent1f812feafb4b98d5cfa2934886bbdd43325780bb (diff)
mount: automatically create non-existing mount point dirs prior to mounting
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index ce468734a2..43a4027c32 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1562,6 +1562,7 @@ static int load_from_path(Unit *u, const char *path) {
{ "Type", config_parse_string, &u->mount.parameters_fragment.fstype, "Mount" },
{ "TimeoutSec", config_parse_usec, &u->mount.timeout_usec, "Mount" },
{ "KillMode", config_parse_kill_mode, &u->mount.kill_mode, "Mount" },
+ { "DirectoryMode", config_parse_mode, &u->mount.directory_mode, "Mount" },
EXEC_CONTEXT_CONFIG_ITEMS(u->mount.exec_context, "Mount"),
{ "Where", config_parse_path, &u->automount.where, "Automount" },