Changeset 80743a1 in mainline for uspace/app/init/init.c
- Timestamp:
- 2017-04-01T06:49:10Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b19e892
- Parents:
- 6e5562a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r6e5562a r80743a1 127 127 opts = "restore"; 128 128 129 int rc = mount(fstype, ROOT_MOUNT_POINT, ROOT_DEVICE, opts,129 int rc = vfs_mount_path(ROOT_MOUNT_POINT, fstype, ROOT_DEVICE, opts, 130 130 IPC_FLAG_BLOCKING, 0); 131 131 if (rc == EOK) … … 146 146 static bool mount_locfs(void) 147 147 { 148 int rc = mount(LOCFS_FS_TYPE, LOCFS_MOUNT_POINT, "", "",148 int rc = vfs_mount_path(LOCFS_MOUNT_POINT, LOCFS_FS_TYPE, "", "", 149 149 IPC_FLAG_BLOCKING, 0); 150 150 return mount_report("Location service filesystem", LOCFS_MOUNT_POINT, … … 302 302 static bool mount_tmpfs(void) 303 303 { 304 int rc = mount(TMPFS_FS_TYPE, TMPFS_MOUNT_POINT, "", "", 0, 0);304 int rc = vfs_mount_path(TMPFS_MOUNT_POINT, TMPFS_FS_TYPE, "", "", 0, 0); 305 305 return mount_report("Temporary filesystem", TMPFS_MOUNT_POINT, 306 306 TMPFS_FS_TYPE, NULL, rc);
Note:
See TracChangeset
for help on using the changeset viewer.