Changeset 714 for trunk/daemon/src/main.c
- Timestamp:
- 03/08/10 19:49:12 (2 years ago)
- Files:
-
- 1 modified
-
trunk/daemon/src/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/src/main.c
r711 r714 120 120 if(!fs_cgroup_support()) 121 121 { 122 if(!dir_exist( "/dev/cgroup"))123 mkdir( "/dev/cgroup", 0755);124 execb_cmd("mount", "mount", "-ocpu,cpuset", "-t", "cgroup", "none", "/dev/cgroup",NULL);122 if(!dir_exist(config_st.cgroupdir)) 123 mkdir(config_st.cgroupdir, 0755); 124 execb_cmd("mount", "mount", config_st.cgroupmountoptions, "-t", "cgroup", "none", config_st.cgroupdir NULL); 125 125 } 126 126
