Changes in uspace/app/init/init.c [a63d216:31e9fe0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
ra63d216 r31e9fe0 59 59 #define TMPFS_FS_TYPE "tmpfs" 60 60 #define TMPFS_MOUNT_POINT "/tmp" 61 62 #define DATA_FS_TYPE "fat" 63 #define DATA_DEVICE "bd/ata1disk0" 64 #define DATA_MOUNT_POINT "/data" 61 65 62 66 #define SRV_CONSOLE "/srv/console" … … 312 316 } 313 317 318 static bool mount_data(void) 319 { 320 int rc = mount(DATA_FS_TYPE, DATA_MOUNT_POINT, DATA_DEVICE, "wtcache", 0, 0); 321 return mount_report("Data filesystem", DATA_MOUNT_POINT, DATA_FS_TYPE, 322 DATA_DEVICE, rc); 323 } 324 314 325 int main(int argc, char *argv[]) 315 326 { … … 325 336 srv_start("/srv/tmpfs"); 326 337 327 srv_start("/srv/klog");328 338 srv_start("/srv/locfs"); 329 339 srv_start("/srv/taskmon"); … … 350 360 srv_start("/srv/udp"); 351 361 srv_start("/srv/dnsrsrv"); 352 srv_start("/srv/dhcp");353 srv_start("/srv/nconfsrv");354 362 355 363 srv_start("/srv/clipboard"); 356 364 srv_start("/srv/remcons"); 357 365 366 /* 367 * Start these synchronously so that mount_data() can be 368 * non-blocking. 369 */ 370 #ifdef CONFIG_START_BD 371 srv_start("/srv/ata_bd"); 372 #endif 373 374 #ifdef CONFIG_MOUNT_DATA 375 /* Make sure fat is running. */ 376 if (str_cmp(STRING(RDFMT), "fat") != 0) 377 srv_start("/srv/fat"); 378 379 mount_data(); 380 #else 381 (void) mount_data; 382 #endif 383 358 384 srv_start("/srv/input", HID_INPUT); 359 385 srv_start("/srv/output", HID_OUTPUT); 360 srv_start("/srv/hound");361 386 362 387 int rc = compositor(HID_INPUT, HID_COMPOSITOR_SERVER);
Note:
See TracChangeset
for help on using the changeset viewer.