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:
2c696a9
)
mount-setup: create full paths when mounting
author
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Apr 2010 02:51:14 +0000
(
04:51
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Apr 2010 16:00:21 +0000
(18:00 +0200)
mount-setup.c
patch
|
blob
|
history
diff --git
a/mount-setup.c
b/mount-setup.c
index
a0eb75c
..
f304194
100644
(file)
--- a/
mount-setup.c
+++ b/
mount-setup.c
@@
-90,7
+90,7
@@
static int mount_one(const char *t[]) {
/* The access mode here doesn't really matter too much, since
* the mounted file system will take precedence anyway. */
- mkdir(t[MOUNT_WHERE], 0755);
+ mkdir
_p
(t[MOUNT_WHERE], 0755);
log_debug("Mounting %s to %s of type %s with options %s.",
t[MOUNT_WHAT],