Changes in uspace/app/init/init.c [9f51afc:b73c26d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r9f51afc rb73c26d 233 233 } 234 234 235 static void mount_scratch(void) 236 { 237 int rc; 238 239 printf("Trying to mount null/0 on /scratch... "); 240 fflush(stdout); 241 242 rc = mount("tmpfs", "/scratch", "null/0", "", 0); 243 if (rc == EOK) 244 printf("OK\n"); 245 else 246 printf("Failed\n"); 247 } 248 235 249 static void mount_data(void) 236 250 { … … 255 269 return -1; 256 270 } 271 272 /* Make sure tmpfs is running. */ 273 if (str_cmp(STRING(RDFMT), "tmpfs") != 0) { 274 spawn("/srv/tmpfs"); 275 } 257 276 258 277 spawn("/srv/devfs"); 278 spawn("/srv/taskmon"); 259 279 260 280 if (!mount_devfs()) { … … 262 282 return -2; 263 283 } 284 285 mount_scratch(); 264 286 265 287 spawn("/srv/fhc"); 266 288 spawn("/srv/obio"); 289 srv_start("/srv/cuda_adb"); 267 290 srv_start("/srv/i8042"); 268 srv_start("/srv/c_mouse"); 291 srv_start("/srv/adb_ms"); 292 srv_start("/srv/char_ms"); 269 293 270 294 spawn("/srv/fb"); … … 298 322 getterm("term/vc5", "/app/bdsh"); 299 323 getterm("term/vc6", "/app/klog"); 300 324 301 325 return 0; 302 326 }
Note:
See TracChangeset
for help on using the changeset viewer.