blob: 25ae4bf67b861dd5fdb6e6a9289f3d349651aa1c [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH RAMFS 4
2.SH NAME
3ramfs \- memory file system
4.SH SYNOPSIS
5.B ramfs
6[
7.B -i
8]
9[
10.B -S
11.I service
12]
13.SH DESCRIPTION
14.I Ramfs
15starts a 9P file server
16keeping all files in memory.
17Initially the file tree is empty.
18.PP
19By default
20.I ramfs
21posts its service as
22.B ramfs
23using
24.IR 9pserve (4).
25.PP
26The
27.B -S
28flag specifies an alternate service name for ramfs to use.
29.PP
30The
31.B -i
32flag tells
33.I ramfs
34to use file descriptors 0 and 1 for its communication channel
35rather than create a pipe.
36This makes it possible to use
37.I ramfs
38as a file server on a remote machine: the file descriptors 0
39and 1 will be the network channel from
40.I ramfs
41to the client machine.
42.PP
43This program is useful mainly as an example of how
44to write a user-level file server.
45It can also be used to provide high-performance temporary files.
46.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000047.B \*9/src/cmd/ramfs.c
rsc058b0112005-01-03 06:40:20 +000048.SH "SEE ALSO"
49.IR 9p (3),
50.IR 9pserve (4)