From 9a29d452d03a63f39a80c0640b7747d8508568e2 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 28 Sep 2018 00:29:02 +0200 Subject: moved mouse and kb, fixed mouse a bit --- fs/mount.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'fs/mount.c') diff --git a/fs/mount.c b/fs/mount.c index 92f9b8a..62cfe9f 100644 --- a/fs/mount.c +++ b/fs/mount.c @@ -6,7 +6,7 @@ #include "log.h" #include "lib/string/string.h" -// temporary + #include "fd.h" static mount mounts[MAX_MOUNTS]; @@ -17,7 +17,7 @@ char *mount_type_to_str(uint32_t t) switch(t) { case MOUNT_TYPE_EXT2: return "EXT2"; - case MOUNT_TYPE_PIPES: return "PIPES"; +// case MOUNT_TYPE_PIPES: return "PIPES"; case MOUNT_TYPE_SYS: return "SYSFS"; } return "UNKNOWN"; @@ -30,22 +30,12 @@ void mount_add(mount mnt) klog("Mounted %s at %s",mount_type_to_str(mnt.type),mnt.path); } -void mount_dump() -{ - for(int i=0;itype),m->path); - } -} - void mount_sysfs(ringbuffer *r, void (*f)(ringbuffer *r,char *fmt, ...)) { - f(r,"mounts:"); for(int i=0;itype),m->path); + f(r,"%s at %s",mount_type_to_str(m->type),m->path); } } -- cgit v1.2.3