mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
List the root directory after mounting /.
So cool that it works! It's spewing out a bunch of terminal escape sequences that the OS console obviously doesn't support, but we'll get there too.
This commit is contained in:
parent
b05ed591ab
commit
705832f387
Notes:
sideshowbarker
2024-07-19 18:47:06 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/705832f3873
3 changed files with 4 additions and 1 deletions
|
@ -29,6 +29,7 @@ VFS_OBJS = \
|
|||
../VirtualFileSystem/FileSystem.o \
|
||||
../VirtualFileSystem/DiskBackedFileSystem.o \
|
||||
../VirtualFileSystem/Ext2FileSystem.o \
|
||||
../VirtualFileSystem/InodeIdentifier.o \
|
||||
../VirtualFileSystem/VirtualFileSystem.o
|
||||
|
||||
AK_OBJS = \
|
||||
|
|
|
@ -152,6 +152,8 @@ void init()
|
|||
// new Task(motd_main, "motd", IPC::Handle::MotdTask, Task::Ring0);
|
||||
new Task(user_main, "user", IPC::Handle::UserTask, Task::Ring3);
|
||||
|
||||
vfs->listDirectory("/");
|
||||
|
||||
// The idle task will spend its eternity here for now.
|
||||
for (;;) {
|
||||
asm("hlt");
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <AK/kstdio.h>
|
||||
#include "sys-errno.h"
|
||||
|
||||
#define EXT2_DEBUG
|
||||
//#define EXT2_DEBUG
|
||||
|
||||
RetainPtr<Ext2FileSystem> Ext2FileSystem::create(RetainPtr<DiskDevice>&& device)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue