1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +00:00

Generate a basic /proc/summary file with some info about all tasks.

This commit is contained in:
Andreas Kling 2018-10-23 12:44:46 +02:00
parent ed2422d7af
commit 63e253bac9
5 changed files with 35 additions and 5 deletions

View file

@ -138,7 +138,7 @@ static void init_stage2()
vfs->mount(procfs.copyRef(), "/proc");
{
auto motdFile = vfs->open("/motd.txt");
auto motdFile = vfs->open("/proc/summary");
ASSERT(motdFile);
auto motdData = motdFile->readEntireFile();