9ns: Add #tmpfs
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 13 Mar 2018 21:43:16 +0000 (17:43 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:33:44 +0000 (14:33 -0400)
commit798e1adcf31102299260faaa78b07a282d8f42fc
treeb74dbfdc5f8062f68d24c3395b848c25e0adb495
parent8bb3ea8143891d840ca28e91e85f4265356db16a
9ns: Add #tmpfs

The tmpfs device can have many instances, each of which are separate
filesystem trees.  When you close the last chan into the instance,
whether that was by unmounting it or by closing an open FD, it will
destroy itself.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/Kbuild
kern/drivers/dev/tmpfs.c [new file with mode: 0644]