Changes in uspace/app/init/init.c [31e9fe0:a63d216] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r31e9fe0 ra63d216 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"65 61 66 62 #define SRV_CONSOLE "/srv/console" … … 316 312 } 317 313 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 325 314 int main(int argc, char *argv[]) 326 315 { … … 336 325 srv_start("/srv/tmpfs"); 337 326 327 srv_start("/srv/klog"); 338 328 srv_start("/srv/locfs"); 339 329 srv_start("/srv/taskmon"); … … 360 350 srv_start("/srv/udp"); 361 351 srv_start("/srv/dnsrsrv"); 352 srv_start("/srv/dhcp"); 353 srv_start("/srv/nconfsrv"); 362 354 363 355 srv_start("/srv/clipboard"); 364 356 srv_start("/srv/remcons"); 365 357 366 /*367 * Start these synchronously so that mount_data() can be368 * non-blocking.369 */370 #ifdef CONFIG_START_BD371 srv_start("/srv/ata_bd");372 #endif373 374 #ifdef CONFIG_MOUNT_DATA375 /* Make sure fat is running. */376 if (str_cmp(STRING(RDFMT), "fat") != 0)377 srv_start("/srv/fat");378 379 mount_data();380 #else381 (void) mount_data;382 #endif383 384 358 srv_start("/srv/input", HID_INPUT); 385 359 srv_start("/srv/output", HID_OUTPUT); 360 srv_start("/srv/hound"); 386 361 387 362 int rc = compositor(HID_INPUT, HID_COMPOSITOR_SERVER);
Note:
See TracChangeset
for help on using the changeset viewer.