9p: ramfs 9p server
Subsystems (2)
Latchesar Ionkov
maintainerPATCH 1/1 9p: ramfs 9p server
Sample ramfs file server that uses the in-kernel 9P file server support. This code is for reference only.
Signed-off-by Latchesar Ionkov <[email protected]>
--- net/9p/Kconfig | 8 +- net/9p/Makefile | 1 + net/9p/ramfs/ramfs.c | 986 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 994 insertions(+), 1 deletions(-)
net/9p/Kconfig +7 -1
@@ -23,11 +23,17 @@ config NET_9P_FD file descriptors. TCP/IP is the default transport for 9p, so if you are going to use 9p, you'll likely want this. -config NET_9P_SRV +menuconfig NET_9P_SRV tristate "9P server support" depends on NET_9P help Say Y if you want the 9P server support + +config NET_9P_RAMFS + tristate "9P ramfs sample file server" + depends on NET_9P_SRV && NET_9P_LOOP + help + Say Y if you want the 9P ramfs support config NET_9P_VIRTIO depends on NET_9P && EXPERIMENTAL && VIRTIO tristate "9P Virtio Transport (Experimental)"
net/9p/Makefile +1 -0
@@ -3,6 +3,7 @@ obj-$(CONFIG_NET_9P_FD) += 9pnet_fd.o obj-$(CONFIG_NET_9P_LOOP) += 9pnet_loop.o obj-$(CONFIG_NET_9P_SRV) += 9psrv.o obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o +obj-$(CONFIG_NET_9P_RAMFS) += ramfs/ 9pnet-objs := \ mod.o \
net/9p/ramfs/ramfs.c new file +986 -0
986 lines not on this page · raw message
Quoted 2 lines · Latchesar Ionkov
Sample ramfs file server that uses the in-kernel 9P file server support. This code is for reference only.
Reference code generally goes in Documentation/
-- Chris