|
@@ -338,6 +338,7 @@ OwnPtr<FileHandle> VirtualFileSystem::open(const String& path)
|
|
OwnPtr<FileHandle> VirtualFileSystem::create(const String& path)
|
|
OwnPtr<FileHandle> VirtualFileSystem::create(const String& path)
|
|
{
|
|
{
|
|
// FIXME: Do the real thing, not just this fake thing!
|
|
// FIXME: Do the real thing, not just this fake thing!
|
|
|
|
+ (void) path;
|
|
m_rootNode->fileSystem()->createInode(m_rootNode->fileSystem()->rootInode(), "empty", 0100644, 0);
|
|
m_rootNode->fileSystem()->createInode(m_rootNode->fileSystem()->rootInode(), "empty", 0100644, 0);
|
|
return nullptr;
|
|
return nullptr;
|
|
}
|
|
}
|
|
@@ -345,6 +346,7 @@ OwnPtr<FileHandle> VirtualFileSystem::create(const String& path)
|
|
OwnPtr<FileHandle> VirtualFileSystem::mkdir(const String& path)
|
|
OwnPtr<FileHandle> VirtualFileSystem::mkdir(const String& path)
|
|
{
|
|
{
|
|
// FIXME: Do the real thing, not just this fake thing!
|
|
// FIXME: Do the real thing, not just this fake thing!
|
|
|
|
+ (void) path;
|
|
m_rootNode->fileSystem()->makeDirectory(m_rootNode->fileSystem()->rootInode(), "mydir", 0400755);
|
|
m_rootNode->fileSystem()->makeDirectory(m_rootNode->fileSystem()->rootInode(), "mydir", 0400755);
|
|
return nullptr;
|
|
return nullptr;
|
|
}
|
|
}
|