Changeset ff381a7 in mainline for uspace/app/init/init.c
- Timestamp:
- 2015-11-02T20:54:19Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r3feeab2 rff381a7 126 126 opts = "restore"; 127 127 128 int rc = mount(fstype, ROOT_MOUNT_POINT, ROOT_DEVICE, opts,128 int rc = vfs_mount(fstype, ROOT_MOUNT_POINT, ROOT_DEVICE, opts, 129 129 IPC_FLAG_BLOCKING, 0); 130 130 return mount_report("Root filesystem", ROOT_MOUNT_POINT, fstype, … … 143 143 static bool mount_locfs(void) 144 144 { 145 int rc = mount(LOCFS_FS_TYPE, LOCFS_MOUNT_POINT, "", "",145 int rc = vfs_mount(LOCFS_FS_TYPE, LOCFS_MOUNT_POINT, "", "", 146 146 IPC_FLAG_BLOCKING, 0); 147 147 return mount_report("Location service filesystem", LOCFS_MOUNT_POINT, … … 152 152 { 153 153 struct stat s; 154 if (stat(path, &s) == ENOENT) {154 if (stat(path, &s) != 0) { 155 155 printf("%s: Unable to stat %s\n", NAME, path); 156 156 return ENOENT; … … 299 299 static bool mount_tmpfs(void) 300 300 { 301 int rc = mount(TMPFS_FS_TYPE, TMPFS_MOUNT_POINT, "", "", 0, 0);301 int rc = vfs_mount(TMPFS_FS_TYPE, TMPFS_MOUNT_POINT, "", "", 0, 0); 302 302 return mount_report("Temporary filesystem", TMPFS_MOUNT_POINT, 303 303 TMPFS_FS_TYPE, NULL, rc);
Note:
See TracChangeset
for help on using the changeset viewer.