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