projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055ba4d
)
mount-setup: create mount points if not existing yet
author
Lennart Poettering
<lennart@poettering.net>
Tue, 6 Apr 2010 19:55:58 +0000
(21:55 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 6 Apr 2010 19:55:58 +0000
(21:55 +0200)
mount-setup.c
patch
|
blob
|
history
diff --git
a/mount-setup.c
b/mount-setup.c
index
12605eb
..
c6a4712
100644
(file)
--- a/
mount-setup.c
+++ b/
mount-setup.c
@@
-85,6
+85,10
@@
static int mount_one(const char *t[]) {
if (r > 0)
return 0;
+ /* The access mode here doesn't really matter too much, since
+ * the mounted file system will take precedence anyway. */
+ mkdir(t[MOUNT_WHERE], 0755);
+
log_debug("Mounting %s to %s of type %s with options %s.",
t[MOUNT_WHAT],
t[MOUNT_WHERE],