Changeset 1313ee9 in mainline for uspace/app/init/init.c
- Timestamp:
- 2009-12-13T15:17:08Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 963dd91
- Parents:
- fc6dd18
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
rfc6dd18 r1313ee9 58 58 { 59 59 char *opts = ""; 60 const char *root_dev = " initrd";60 const char *root_dev = "bd/initrd"; 61 61 62 62 if (str_cmp(fstype, "tmpfs") == 0) … … 97 97 } 98 98 99 snprintf(null, MAX_DEVICE_NAME, "null %d", null_id);99 snprintf(null, MAX_DEVICE_NAME, "null/%d", null_id); 100 100 int rc = mount("devfs", "/dev", null, "", IPC_FLAG_BLOCKING); 101 101 … … 170 170 } 171 171 172 if ( texit != TASK_EXIT_NORMAL || retval != 0) {172 if ((texit != TASK_EXIT_NORMAL) || (retval != 0)) { 173 173 printf(NAME ": Server %s failed to start (returned %d)\n", 174 174 fname, retval); … … 206 206 int rc; 207 207 208 printf("Trying to mount disk0 on /data... ");208 printf("Trying to mount bd/disk0 on /data... "); 209 209 fflush(stdout); 210 210 211 rc = mount("fat", "/data", " disk0", "wtcache", 0);211 rc = mount("fat", "/data", "bd/disk0", "wtcache", 0); 212 212 if (rc == EOK) 213 213 printf("OK\n"); … … 256 256 #endif 257 257 258 getvc(" vc0", "/app/bdsh");259 getvc(" vc1", "/app/bdsh");260 getvc(" vc2", "/app/bdsh");261 getvc(" vc3", "/app/bdsh");262 getvc(" vc4", "/app/bdsh");263 getvc(" vc5", "/app/bdsh");264 getvc(" vc6", "/app/klog");258 getvc("term/vc0", "/app/bdsh"); 259 getvc("term/vc1", "/app/bdsh"); 260 getvc("term/vc2", "/app/bdsh"); 261 getvc("term/vc3", "/app/bdsh"); 262 getvc("term/vc4", "/app/bdsh"); 263 getvc("term/vc5", "/app/bdsh"); 264 getvc("term/vc6", "/app/klog"); 265 265 266 266 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.