Unix/Linux Go Back    

Plan 9 - man page for ramfs (plan9 section 4)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

RAMFS(4)										 RAMFS(4)

       ramfs  - memory file system

       ramfs [ -i ] [ -s ] -m [ mountpoint ]

       Ramfs starts a process that mounts itself (see bind(2)) on mountpoint (default /tmp).  The
       ramfs process implements a file tree rooted at dir, keeping all	files  in  memory.   Ini-
       tially the file tree is empty.

       The  -i	flag  tells  ramfs  to use file descriptors 0 and 1 for its communication channel
       rather than create a pipe.  This makes it possible to use ramfs as  a  file  server  on	a
       remote machine: the file descriptors 0 and 1 will be the network channel from ramfs to the
       client machine.	The -s flag causes ramfs to post its channel on  /srv/ramfs  rather  than
       mounting  it  on  mountpoint,  enabling multiple clients to access its files.  However, it
       does not authenticate its clients and its implementation of groups is  simplistic,  so  it
       should not be used for precious data.

       This  program is useful mainly as an example of how to write a user-level file server.  It
       can also be used to provide high-performance temporary files.



Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:27 PM.