projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a27d4
)
previous commit accidentiall dropped the cgroup mount
author
John Crispin
<blogic@openwrt.org>
Tue, 2 Dec 2014 12:40:11 +0000
(13:40 +0100)
committer
John Crispin
<blogic@openwrt.org>
Tue, 2 Dec 2014 12:40:11 +0000
(13:40 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
initd/early.c
patch
|
blob
|
history
diff --git
a/initd/early.c
b/initd/early.c
index 5a83d2cadb384afc7f18faee1f66fd5c177d9037..beb7b694323f767bdefab042bb956e2363df0a8f 100644
(file)
--- a/
initd/early.c
+++ b/
initd/early.c
@@
-63,6
+63,7
@@
early_mounts(void)
{
mount("proc", "/proc", "proc", MS_NOATIME, 0);
mount("sysfs", "/sys", "sysfs", MS_NOATIME, 0);
+ mount("none", "/sys/fs/cgroup", "cgroup", 0, 0);
mount("tmpfs", "/dev", "tmpfs", MS_NOATIME, "mode=0755,size=512K");
mkdir("/dev/shm", 0755);
mkdir("/dev/pts", 0755);