Changeset 1313ee9 in mainline for uspace/app
- Timestamp:
- 2009-12-13T15:17:08Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 963dd91
- Parents:
- fc6dd18
- Location:
- uspace/app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
rfc6dd18 r1313ee9 100 100 if (s.is_file) 101 101 printf("%-40s\t%llu\n", name, (long long) s.size); 102 else if (s.is_directory) 103 printf("%-40s\t<dir>\n", name); 102 104 else 103 105 printf("%-40s\n", name); -
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; -
uspace/app/tester/vfs/vfs1.c
rfc6dd18 r1313ee9 85 85 return "Unable to create null device"; 86 86 87 snprintf(null, MAX_DEVICE_NAME, "null %d", null_id);87 snprintf(null, MAX_DEVICE_NAME, "null/%d", null_id); 88 88 int rc = mount(FS_TYPE, MOUNT_POINT, null, OPTIONS, FLAGS); 89 89 switch (rc) {
Note:
See TracChangeset
for help on using the changeset viewer.