giVFS_DriverFileID = SysFS_RegisterFile("VFS/Drivers", NULL, 0);
if( VFS_Mount("root", "/", "rootfs", "") != 0 ) {
giVFS_DriverFileID = SysFS_RegisterFile("VFS/Drivers", NULL, 0);
if( VFS_Mount("root", "/", "rootfs", "") != 0 ) {
return -1;
}
VFS_MkDir("/Devices");
VFS_MkDir("/Mount");
VFS_Mount("dev", "/Devices", "devfs", "");
return -1;
}
VFS_MkDir("/Devices");
VFS_MkDir("/Mount");
VFS_Mount("dev", "/Devices", "devfs", "");
tmp = VFS_GetAbsPath(Path);
if(tmp == NULL) return NULL;
//Log(" VFS_GetTruePath: tmp = '%s'", tmp);
tmp = VFS_GetAbsPath(Path);
if(tmp == NULL) return NULL;
//Log(" VFS_GetTruePath: tmp = '%s'", tmp);
free(tmp);
//Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret);
free(tmp);
//Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret);