From eb829b70db46ad86a1c85740f5ca02b7ba29ce4f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 27 Jun 2025 19:06:14 -0400 Subject: kernel: Add initial support for tmpfs Introduce the initial support for tmpfs, a readable and writable in-memory filesystem. Signed-off-by: Ian Moffett --- share/misc/tmpfs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 share/misc/tmpfs (limited to 'share/misc/tmpfs') diff --git a/share/misc/tmpfs b/share/misc/tmpfs new file mode 100644 index 0000000..38eac22 --- /dev/null +++ b/share/misc/tmpfs @@ -0,0 +1,15 @@ +---------------------------------------------------- +| Readable + writable in-memory filesystem (tmpfs) | ++--------------------------------------------------+ +| Author: Ian Marco Moffett | ++--------------------------------------------------+ + +------------------------------------------------------------------------------ + + [d] /tmp/ -> [next] -> foo.txt -> [next] -> bar.txt + \ + +> /tmp/noises/ -> [next] -> mrow.txt -> [next] -> squeak.txt + \ + +> /tmp/noises1/ -> [next] -> bark.bin -> [next] -> wrff.txt + +------------------------------------------------------------------------------ -- cgit v1.2.3