ref: 8fe978f00633ce7bdf4c0413e72b5a78ddca7bec
parent: 82038ae1308fe6da1022d01230ceb40deafa28e7
author: mkf <mkf@cloud9p.org>
date: Sun Dec 3 05:26:05 EST 2023
fstab: add envfs
--- a/fs/fstab.h
+++ b/fs/fstab.h
@@ -1,11 +1,13 @@
#pragma once
#include <vfs.h>
-fs_t* cmdfs_init(void);
-fs_t* rootfs_init(void);
+extern fs_t* cmdfs_init(void);
+extern fs_t* rootfs_init(void);
+extern fs_t* envfs_init(void);
static mnt_t fstab[] =
{
{"/", rootfs_init},
{"/cmd/", cmdfs_init},
+ {"/env/", envfs_init},
};