Changes in uspace/app/init/init.c [ca05e9b:a63d216] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
rca05e9b 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 { … … 366 355 srv_start("/srv/clipboard"); 367 356 srv_start("/srv/remcons"); 368 369 /*370 * Start these synchronously so that mount_data() can be371 * non-blocking.372 */373 #ifdef CONFIG_START_BD374 srv_start("/srv/ata_bd");375 #endif376 377 #ifdef CONFIG_MOUNT_DATA378 /* Make sure fat is running. */379 if (str_cmp(STRING(RDFMT), "fat") != 0)380 srv_start("/srv/fat");381 382 mount_data();383 #else384 (void) mount_data;385 #endif386 357 387 358 srv_start("/srv/input", HID_INPUT);
Note:
See TracChangeset
for help on using the changeset viewer.