Changeset 80743a1 in mainline for uspace/app/bdsh/cmds
- Timestamp:
- 2017-04-01T06:49:10Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b19e892
- Parents:
- 6e5562a
- Location:
- uspace/app/bdsh/cmds/modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mount/mount.c
r6e5562a r80743a1 147 147 mopts = t_argv[4]; 148 148 149 rc = mount(t_argv[1], t_argv[2], dev, mopts, 0, instance);149 rc = vfs_mount_path(t_argv[2], t_argv[1], dev, mopts, 0, instance); 150 150 if (rc != EOK) { 151 151 printf("Unable to mount %s filesystem to %s on %s (rc=%s)\n", 152 t_argv[ 1], t_argv[2], t_argv[3], str_error(rc));152 t_argv[2], t_argv[1], t_argv[3], str_error(rc)); 153 153 return CMD_FAILURE; 154 154 } -
uspace/app/bdsh/cmds/modules/unmount/unmount.c
r6e5562a r80743a1 66 66 } 67 67 68 rc = unmount(argv[1]);68 rc = vfs_unmount_path(argv[1]); 69 69 if (rc != EOK) { 70 70 printf("Unable to unmount %s (rc=%d)\n", argv[1], rc);
Note:
See TracChangeset
for help on using the changeset viewer.