Skip to contentSkip to conversation

9p: 9P ramfs sample implementation

RFC New Latchesar Ionkov 1 participant 1 message Sep 30, 2007

Subsystems (2)
lore
Share & tools
lore

Latchesar Ionkov

author maintainer
#0 lore raw

RFC 1/1 9p: 9P ramfs sample implementation

Sample ramfs file server that uses the 9P in-kernel server implementation. This code is for reference only, it is not supposed to be merged into the kernel.

---
 net/9p/srv/Kconfig  |    6 +
 net/9p/srv/Makefile |    4 +
 net/9p/srv/ramfs.c  |  938 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 948 insertions(+), 0 deletions(-)
 create mode 100644 net/9p/srv/ramfs.c
net/9p/srv/Kconfig +6 -0
index 2013945..ecb46ef 100644
@@ -7,3 +7,9 @@ config NET_9P_SRV
 	depends on NET_9P
 	help
 	  Say Y if you want the 9P server support
+
+config NET_9P_RAMFS
+	tristate "9P ramfs sample"
+	depends on NET_9P_SRV
+	help
+	  Say Y if you want the 9P ramfs support
net/9p/srv/Makefile +4 -0
index c669592..9db1c31 100644
@@ -1,7 +1,11 @@
 obj-$(CONFIG_NET_9P_SRV) += 9psrv.o
+obj-$(CONFIG_NET_9P_RAMFS) += 9pramfs.o
 
 9psrv-objs := \
 	srv.o \
 	conn.o \
 	fid.o \
 	socksrv.o \
+
+9pramfs-objs := \
+	ramfs.o \
net/9p/srv/ramfs.c new file +938 -0

938 lines not on this page · raw message

Signature · 1 line
1.5.2.4